Day 54 python learning three characteristics of object-oriented package multiple inheritance. . The author believes that only two major characteristics

It reflects the polymorphism is inherited

It is attached to the inheritance of the two meanings of the polymorphic time: "" change "" and "extended" itself means that there must be mechanism to automatically use your changed version of the extension, no more ancient state, the two kinds of meaning can not be achieved

All polymorphic essentially inherited implementation details, then let polymorphism and encapsulation, inheritance, those two concepts side by side, clearly not logical

 

Guess you like

Origin www.cnblogs.com/jianchixuexu/p/11688799.html