As Python pursues an article arranged programming worldview, classes
in Python have the capacity of acquiring the properties of another
class. This procedure is known as legacy. Legacy gives the code
reusability include. The class that is being acquired is known as a
super-class and the class that acquires the different class is known as
an inferred or kid class. Following sorts of legacy are bolstered in
Python: Single legacy: When a class acquires just a single super
class Multiple legacy: When a class acquires different super classes
Multilevel legacy: When a class acquires a super class and after that
another class acquires this inferred class shaping a ‘parent, kid, and
grandkid’ class structure Hierarchical legacy: When one super class is
acquired by numerous determined classes Want to move toward becoming
expert in Python programming look at this Python preparing?
http://linkmix.co/52654
http://linkmix.co/52654
No comments:
Post a Comment