+1 vote
in JAVA by

What is the difference between super and this in Java?

1 Answer

0 votes
by

super is a reference to the superclass of a class, while this is a reference to the current instance of a class. super is used to call the constructor or a method of the superclass, while this is used to refer to the current instance of a class.

...