In this Python programming video tutorial you will learn about multilevel and multiple inheritance in detail.
In multilevel inheritance you can inherit a derived class from another derived class.In this inheritance there will be a base class and derive class which is inherited from this base class and from the derive class we can inherit another class. for example Our father inherits features of the grandfather, further we inherit the properties/capabilities of our father. Indirectly we inherited the properties/capabilities of our grandfather.
Multiple inheritance on the other hand is a feature in which a class can inherit attributes and methods from more than one parent class. A class definition, where a child class SubClassName inherits from the parent classes BaseClass1 BaseClass2 BaseClass3 and so on looks like this:
class SubclassName(BaseClass1, BaseClass2, BaseClass3, ...):
pass
For more free tutorials on computer programming
/ amulsacademy
twitter.com/AmulsAcademy
En esta página del sitio puede ver el video en línea Python Programming Tutorial - Multiple and Multilevel Inheritance de Duración hora minuto segunda en buena calidad , que subió el usuario Amulya's Academy 12 febrero 2017, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 38,966 veces y le gustó 591 a los espectadores. Disfruta viendo!