Question discussion

What does the super keyword in Java do?

359236Medium DSSSB TGT Computer Science 0 replies 0 views
0
What does the super keyword in Java do?
  • ARefers to high performing objects
  • BRefers to the current object
  • CUsed to define static variables
  • DRefers to the parent class
Correct answer: D

Explanation

The super keyword in Java refers to the parent (super) class.

Discussion 0

Nobody has replied yet. Start the discussion!