“这个系列觉得没必要这么写,不然质量不会高,还是看一段时间,自己提炼吧”
多态,也称作动态绑定,后期绑定,是三个基本特征中非常重要的一个特征。通过多态,可以消除类型之间的耦合关系。同时多态提供了扩展程序的一个很好的机制。