Python Programming Tutorial - Inheritance
Amulya's Academy
0:00 / 0:00
Python Programming Tutorial - Inheritance
49 360 просмотров · 9 лет назад
Amulya's Academy
224 тыс. подписчиков
49 360 просмотров · 9 лет назад
In this Python programming video tutorial you will learn about inheritance in detail.
Inheritance enable us to define a class that takes all the functionality from parent class and allows us to add more. Inheritance is a powerful feature in object oriented programming.
It refers to defining a new class with little or no modification to an existing class. The new class is called derived (or child) class and the one from which it inherits is called the base (or parent) class.
syntax of inheritance:
class BaseClass:
Body of base class
class DerivedClass(BaseClass):
Body of derived class
For more free tutorials on computer programming
/ amulsacademy
twitter.com/AmulsAcademy