

MCQOPTIONS
Saved Bookmarks
1. |
If in multiple inheritance, class C inherits class B, and Class B inherits class A. In which sequence are their destructors called if an object of class C was declared? |
A. | ~C() then ~B() then ~A() |
B. | ~B() then ~C() then ~A() |
C. | ~A() then ~B() then ~C() |
D. | ~C() then ~A() then ~B() |
Answer» B. ~B() then ~C() then ~A() | |