Question

What is the purpose of the super keyword in Java?

A To refer to the current object.
B To call a static method of the superclass.
C To refer to the immediate parent class object.
D To prevent a method from being overridden.
E To declare an abstract class.
Practice Next

Hey! Ask a query