What is Python Inheritance..

What is Python Inheritance | Blog | Adroit Information Technology Academy (AITA)

What is Python Inheritance

Python Inheritance is an important part of OOP (object-oriented programming).  Python Inheritance feature is a concept of relationship among classes. Where a new class (called child class) inherits properties from the base class (called parent class).  It provides to reusability of codes that is why we do not need to write the same code again and again and for that reason programmer can reduce their effort. There are mainly three types of inheritance in python programming.

  1. Single inheritance
  2. Multilevel inheritance
  3. Multiple inheritance
Share:

Tags: Python Inheritance Python Inheritance object-oriented programming