Which Constructor Will Be Called First From The Classes #748
Which constructor will be called first from the classes involved in single inheritance from object of derived class?
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 Inheritance & its Types - OOPs MCQ: Single Level Inheritance - Quiz No.2.
Which constructor will be called first from the classes involved in single inheritance from object of derived class?
Base class constructor
Derived class constructor
Both class constructors at a time
Runtime error