In Java, the super keyword is used to refer to the parent class’s members (variables, methods, constructors). It is typically used to call a superclass’s constructor or method when they are overridden in the subclass.
Loading...
Selvam College of Technology (Autonomous)
In Java, the super keyword is used to refer to the parent class’s members (variables, methods, constructors). It is typically used to call a superclass’s constructor or method when they are overridden in the subclass.