0

Super keyword is used for ?

In java

27th Dec 2022, 3:26 PM
Venkata Aruna
Venkata Aruna - avatar
1 Respuesta
+ 1
super => used to refer to parent class. super() ; // calling parent class constructor. super.property ; // super class variable super.method() ; // calling super class method()
27th Dec 2022, 4:46 PM
Jayakrishna 🇮🇳