摘要
在《C++程序设计》语言里,虚函数在运行时表现出多态功能,是C++的精髓,它充分体现了面向对象程序设计思想中的继承和多态性这两大特性,介绍了虚函数在内存中的结构,并对虚函数引发的多态性和动态联编的实现过程进行了分析.
In C++ programming language, virtual function is the soul that shows two characteristics of inheritance and polymorphism in object-oriented design OOD. This paper introduces virtual function's structure in memory, analyses virtual function caused by polymorphrism and dynamic binding in realizing course.
出处
《河北北方学院学报(自然科学版)》
2006年第5期67-69,75,共4页
Journal of Hebei North University:Natural Science Edition