As mentioned above the this operator is used to refer to the current object. Another use is when you need to call a method in another class that has a parameter of the current class.


class Bar {...