摘要
本文对C++中多态性的本质、虚函数的特征与调用作了详细的分析与描述,并结合实际给出了多态性在图形系统中的应用实例。
Object-Oriented Programming Language is rapidly being the events that arouse great interest now, C+ + is the typical one of this languages. Combined C language with Object-Oriented technology, C+ + provides a power tools to the software engineering.Polymorphism is the important feature of the OOL, it made program flexible. This paper analyzes and describes the polymorphism, the feature and the call of virtual function in detail, and provides an application example which polymorphism has been used in graphic system.
出处
《广西工学院学报》
CAS
1994年第1期41-47,共7页
Journal of Guangxi University of Technology
关键词
多态性
面向对象
程序设计
虚函数
C + +
Polymorphism
Object - Oriented Programming
Inheritance
Class
Virtual function
Dynamic binding