Types of Inheritance

Learn about the various types of inheritance in Python.

We'll cover the following...

Based upon parent classes and child classes, there exists the following five types of inheritance:

  1. Single
  2. Multi-level
  3. Hierarchical
  4. Multiple
  5. Hybrid

Single inheritance

In single inheritance, there is only a single class extending from another class. We can take the example of the Vehicle class as the parent class, and the ...