Which Class Destructor Will Be Called First When Following Code #193
Which class destructor will be called first, when following code go out of scope?</p> <pre><code class="language-cpp"> class A{ }; class B{ }; class C: public B{ }; A a; B b; C c; </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs111 OOP Object Oriented Programming Java. It can also be found in gs gs111 Constructors and Destructors - OOPs MCQ: Destructors - Quiz No.2.