Super keyword is used for ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Super keyword is used for ?

In java

27th Dec 2022, 3:26 PM
Venkata Aruna
Venkata Aruna - avatar
1 Answer
+ 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 🇮🇳