摘要
分析了OOP C++中动态多态性的实现方法,并对其在单继承和多继承关系下的底层实现机制进行了研究,给出了动态多态性设计和实现的有效方法。
By analyzing the implementation method of dynamic polymorphism in OOP C++ and studying its implementation mechanism in the bottom according to different kinds of inheritance relationship,this article provides an effective resolution for design and implementation of this dynamic polymorphism.
出处
《长治学院学报》
2014年第2期54-56,共3页
Journal of Changzhi University
关键词
OOP
动态多态性
虚函数
OOP
dynamic polymorphism
virtual funtion