Multiple choice

How will you implement multiple inheritance in C++?

  1. class B, class C:public A

  2. class B:public A class C:public A

  3. class B:public C class C:public A

  4. Multiple inheritance is not supported in C++.

  5. class A:public B class B:public A

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This is the correct syntax.