Does Following Code Show Multiple Inheritancep Pre Langcpp #763

Does following code show multiple inheritance?</p> <pre><code class="language-cpp"> class A { int a; }; class B { int b; }; class C:public A, public B { int c; }; class D:public C { int d; }; </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: Multilevel Inheritance - Quiz No.2.

Does following code show multiple inheritance?

  class A { int a; }; class B { int b; }; class C:public A, public B { int c; }; class D:public C { int d; }; 

Similar question(s) are as followings:



Online Quizzes of gs111 OOP Object Oriented Programming Java

Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background