Multiple choice

When a derived class is the base class of some other class, then this type of inheritance is known as ___________.

  1. hierarchical inheritance

  2. multiple inheritance

  3. multilevel inheritance

  4. hybrid inheritance

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

Multilevel inheritance occurs when a derived class itself becomes a base class for another class, forming a chain. Hierarchical inheritance has multiple derived classes from one base. Multiple inheritance means deriving from multiple base classes.