Are ‘this’ and ‘super’ keywords in Java?



Yes, this and super are keywords in Java. Where ‘this’ is used as a reference of the current object and, ‘super’ is used as a reference to the superclass object.


Advertisements