Computer Science, asked by abinnandhu90, 1 month ago

Explain how the constructor of the base class can be invoked when the object of the derived class is created​

Answers

Answered by tanish1201
2

Answer:

Base class constructors are always called in the derived class constructors. Whenever you create derived class object, first the base class default constructor is executed and then the derived class's constructor finishes execution.

Answered by parikshit17
1

Answer:

Base class constructors are always called in the derived class constructors. Whenever you create derived class object, first the base class default constructor is executed and then the derived class's constructor finishes execution.

Similar questions