C++ | Virtual Functions | Question 4

Last Updated :
Discuss
Comments

In C++ inheritance, which constructor is called first when an object of a derived class is created?

Derived class constructor

Base class constructor

Constructors are called randomly

t depends on access specifier

Share your thoughts in the comments