首页 | 本学科首页   官方微博 | 高级检索  
     

一种软件绘图功能的面向对象实现
引用本文:赵辉,朱永春. 一种软件绘图功能的面向对象实现[J]. 河南大学学报(自然科学版), 2004, 34(4): 53-55
作者姓名:赵辉  朱永春
作者单位:河南大学,计算中心,河南,开封,475001;河南大学,计算中心,河南,开封,475001
基金项目:河南省自然科学基金(0111061500)
摘    要:在面向对象的程序设计中,多态性是一个十分重要的概念.本文讨论继承和虚函数实现多态性的原理,利用多态性合理安排各组件类之间的继承关系,研究软件绘图功能组件类的封装方法.

关 键 词:多态性  继承  封装  虚函数
文章编号:1003-4978(2004)04-0053-03
修稿时间:2004-08-18

An OOP Implementation of Software Draw Map Function
ZHAO Hui,ZHU Yong-chun. An OOP Implementation of Software Draw Map Function[J]. Journal of Henan University(Natural Science), 2004, 34(4): 53-55
Authors:ZHAO Hui  ZHU Yong-chun
Abstract:The polymorphism is a very important and useful conception in object oriented programming. This paper discusses the mechanism of implementing polymorphism by using inheritance and virtual function. It studies how to encapsulate the software's draw map module classes by using polymorphism and correctly deals with inheritance of the classes.
Keywords:Polymorphism  Inheritance  Encapsulating  Virtual function
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号