一、Composite 二、Prototype 创建未来会出现的子类。 每个子类的构造函数调用addPrototype函数,将子类本身挂到父类上。 本栏目推荐文章春秋云境 Delegation WP春秋云镜 Delegation WP委托相关设计(Delegation + Inheritance)【Flink系列十八】HDFS_DELEGATION_TOKEN过期的问题解决汇总C++快速入门 第二十八讲:多继承(multiple inheritance)inheritance of CLASSJava 委托和继承(Delegation and Inheritance)python: multiple inheritance【cpluscplus教程翻译】友元和继承(Friendship and inheritance)Go语言中没有类(class)的概念,也没有传统意义上的继承(inheritance)Inheritance Delegationinheritance delegation java and inheritance delegation delegation delegation wp hdfs_delegation_token inheritance inheritance multiple hdfs_delegation_token delegation问题flink inheritance class of inheritance multiple python