what is the use of This keyword ?

please explain this keyword clearly that where we use this keyword in super and subclass.

Your Answer

Keyword 'THIS' in Java is a reference variable that refers to the current object. It can be used to refer current class instance variable. It can be used to invoke or initiate current class constructor.

Core Java

Didn't get the answer.
Contact people of Talent-Core Java directly by clicking here