Beginner Java
Q41 / 100

What does the super keyword do?

Correct! Well done.

Incorrect.

The correct answer is B) Refers to the parent class and is used to call parent methods or constructors

B

Correct Answer

Refers to the parent class and is used to call parent methods or constructors

Explanation

super() calls the parent constructor, and super.method() calls an overridden method in the parent class.

Progress
41/100