English, asked by ashwinisanjay25, 4 months ago

How constructors are used in base and derievd class ? Explain with example ​

Answers

Answered by seniorladka
0

Answer:

When an object of that derived class is created, first the constructors for the base class's member objects execute, then the base-class constructor executes, then the constructors for the derived class's member objects execute, then the derived class's constructor executes.

Similar questions