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

Java 8Object Oriented ProgrammingProgramming

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.

raja
Published on 05-Jan-2018 15:14:35
Advertisements