Is Super a keyword or a method?
-
keyword
-
method
-
both
-
none of the above
A
Correct answer
Explanation
'super' is a reserved keyword in Java, not a method. It is used to access superclass members (super.method() or super.field) or to call a superclass constructor (super() as the first statement in a constructor). It cannot be used as a variable name or for any other purpose.