Multiple Inheritance

Learn what multiple inheritance is and how it can be implemented in Java.

What Is multiple inheritance?

When a class is derived from more than a single base class, i.e. when a class has more than one immediate parent classes, it is an instance of Multiple Inheritance. Example:

  • A Hyundai Elantra IS A Car
  • A Hyundai Elantra IS A Sedan as well

Get hands-on with 1400+ tech skills courses.