期刊文献+

面向对象程序设计刍议

Discussion on Object Oriented Programming
下载PDF
导出
摘要 面向对象程序设计是一种围绕真实世界的概念来组织模型的程序设计方法 ,对象是包含现实世界物体特征的抽象实体。在计算机科学中 ,程序操作的任何成分都可以看作一个对象 ,一个类所有的对象都有相同的数据结构 ,并且共享相同的操作代码 ,所以说类是所有对象共同的行为和不同状态的集合体。本文通过对电视机类的定义阐述了电视机的基本功能及工作原理 ,来说明类是创建对象的模块 ,一个类所有的对象都有相同的数据结构的概念。 Object oriented programming is a kind of programming design method centering on organizing modes based on the concept of real world. Object is meant abstract o bjects characterized by objects of the real world in computer science and any co mponent of programming operation might be regarded as object. The object in a c lass must have the same data structure and share the common operating code, i.e . classes are the common behaviors of the objects and sets at different states . Through specifications for TV sets, the basic TV function and working mechani sm are clarified, so a class means object modes created, a class in the object has the concept of the same data structure.
作者 余建武
出处 《现代电子技术》 2004年第24期98-99,共2页 Modern Electronics Technique
关键词 面向对象程序设计 数据结构 程序设计方法 计算机科学 代码 组织模型 共享 物体 概念 基本功能 object oriented class abstract inheritance encapsulation polymorphism
  • 相关文献

参考文献2

  • 1[美]Setphen Prata.C¨Prime Plus中文版(第4版)[M].孙建春译.北京:人民邮电出版社,2002.
  • 2麦中凡.C++程序语言教程[M].北京:航空航天大学出版社,2001.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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