Multiple Inheritance

Multiple Inheritance In Python


In this, a single derived classes is created from minimum 2 base class.


Execution flow will be in order of there inheritance.

In this parent class are not related to each other in any form.

Syntax :

            keyword class class_name1:
            ---------- statement 1

            keyword class class_name2:
            ---------- statement 2

            keyword class class_name (class_name1, class_name2):
            ---------- statement 3


Example : 

hi


Comments

My photo
Techno Xpresss
Bangalore, Karnataka, India