Question 32Asked in DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 1 (9:00 AM)

What does the super keyword in Java do?

  1. ARefers to high performing objects
  2. BRefers to the current object
  3. CUsed to define static variables
  4. DRefers to the parent class
Show answerHide answer

Correct answer: (D) Refers to the parent class

Explanation

super refers to the immediate parent (superclass) object; it is used to call parent constructors and access parent methods or fields. The current object is referred to by this.

From DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 1 (9:00 AM)

This is question 32 of DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 1 (9:00 AM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.