Types of Inheritance

Learn about the various types of inheritance in Python.

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 ...

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy