Computer Science, asked by priyasekaran11, 6 months ago

hybrid inheritance using constructor and destructor ​

Answers

Answered by Anonymous
0

Constructors and Destructors in Inheritance

When an object for derived class is created, base class constructors is executed first and then derived class constructor gets executed.  Derived class destructor executes first and then base class destructor gets executed.

Answered by anshukumari3118
0

Answer:

When an object for derived class is created, base class constructors is executed first and then derived class constructor gets executed. ... Derived class destructor executes first and then base class destructor gets executed

Similar questions