Multiple choice

If a class C is derived from class B, which is derived from class A, all through public inheritance, then this type of inheritance is called

  1. single inheritance

  2. hybrid inheritance

  3. hierarchical inheritance

  4. multilevel inheritance

  5. multiple inheritance

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

If a class C is derived from class B, which is derived from class A, all through public inheritance, then this type of inheritance is called multilevel inheritance.