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
On this page of the site you can watch the video online Python Programming Tutorial - Multiple and Multilevel Inheritance with a duration of hours minute second in good quality, which was uploaded by the user Amulya's Academy 12 February 2017, share the link with friends and acquaintances, this video has already been watched 38,966 times on youtube and it was liked by 591 viewers. Enjoy your viewing!