Multiple choice

In Java, to call the constructor of the base class from the child class, constructor use the ______ call.

  1. base ()

  2. parent ()

  3. super ()

  4. none of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The super() call is used in Java to invoke the constructor of the base (parent) class from a child class constructor. This allows the child class to initialize inherited properties and behaviors defined in the parent class, ensuring proper initialization throughout the inheritance chain.