Which Method In The Code Below Is Single Level Inheritedp Pre #739

Which method in the code below is single level inherited?</p> <pre><code class="language-cpp"> class A { protected int a, b; public: void show() { cout<<a<<b; } }; class B: public A { public: void disp() { cout<<a++<<b++; } }; class C: private A, public B { void avg() { cout<<(a+b)/2; } }; </code></pre>

Online Quiz 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 Inheritance & its Types - OOPs MCQ: Single Level Inheritance - Quiz No.1.


Similar question(s) are as followings:



Online Quizzes of gs111 OOP Object Oriented Programming Java

Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background