期刊文献+

面向对象语言中多态技术的缺陷与解决方法

Limitation of the object oriented programming languages' polymorphism and resolvent
下载PDF
导出
摘要 多态性是面向对象语言的关键技术,其使用方法和内部原理是面向对象编程的技术难点之一。本文以C++为例,在分析面向对象语言多态性实现原理的基础上,指出了当派生类实际改写的虚函数与虚方法数量很少时,其技术实现机制存在缺陷,并提出了一种以字符串匹配来代替原有地址查找的解决方法。 Polymorphism is the key technique of the Object Oriented Programming Language, which operation method and internal theory is one of difficulty of the Object Oriented Program. This paper analysed the theory of Polymorphism and pointed out the limitation when rewrite few virtual function in derived class, and put forward a kind of solving method with the string matches to replace the seek address.
作者 宋文津
出处 《农业网络信息》 2009年第5期119-120,共2页 Agriculture Network Information
基金 河北省教育科学"十五"规划课题(0130104)
关键词 多态性 面向对象 虚函数 C++ Polymorphism Object oriented Virtual function C++
  • 相关文献

参考文献5

二级参考文献17

  • 1戴敏,宋燕平.面向对象的软件重用[J].天津理工学院学报,2000,16(4):70-73. 被引量:2
  • 2邵维忠 杨芙清.面向对象的系统分析[M].清华大学出版社,广西科学技术出版社,2000,1..
  • 3杨芙清,计算机科学,4期
  • 4宛延闿 定海.面向对象分析和设计[M].北京:清华大学出版社,2001..
  • 5John D Mc Gregor,David A Sykes.面向对象的软件测试[M].北京:机械工业出版社,2002.
  • 6Perry D E,Kaiser G E.Adequate testing and object-oriented programming[J] Journal of Object-Oriented Programming,1990,3 (5):13-19.
  • 7Turner C D,Robson D J.The testing of object-oriented programs[R].University of Durham,Durham,England:Computer Science Division,SECS,1992.
  • 8John D McGregor.Testing object-oriented systems[R].USA:Portland,Oregon,1994.23-27.
  • 9Nicu Goga.Comparing TorX,Autolink,TGV and UIO test algorithms[R].Berlin HerdeLberg:SDL 2001,2001.
  • 10Doong R K,Frankl P G.The ASTOOT approach to testing object-oriented programs[J].ACM Transaction on Software Engineering and Methodology,1994,3(2):101-130.

共引文献9

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部