Java: super Keyword
In java, super keyword is a reference variable used to refer immediate parent class object.
Whenever, we create an instance of child/subclass, an instance of the parent class created implicitly which referred to a super reference variable.
super keyword use mainly on the below cases:
super to refer immediate parent class instance variable.
super to invoke the immediate parent class method.
super()
View On WordPress

















