Question: When a derived class object is destroyed, in what order are the destructors executed? First the derived class destructor is executed, then the base class
When a derived class object is destroyed, in what order are the destructors executed?
First the derived class destructor is executed, then the base class destructor is executed.
First the base class destructor is executed, then the derived lass destructor is executed.
Only the base class destructor is executed.
Only the derived class destructor is executed.
In C++, what is a pure virtual method?
Step by Step Solution
There are 3 Steps involved in it
The question is incomplete Heres a brief reason The question mixes two different concepts in C witho... View full answer
Get step-by-step solutions from verified subject matter experts
