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

面向对象程序设计刍议
引用本文:余建武. 面向对象程序设计刍议[J]. 现代电子技术, 2004, 27(24): 98-99
作者姓名:余建武
作者单位:宁波大红鹰职业技术学院,浙江,宁波,315175
摘    要:面向对象程序设计是一种围绕真实世界的概念来组织模型的程序设计方法,对象是包含现实世界物体特征的抽象实体。在计算机科学中,程序操作的任何成分都可以看作一个对象,一个类所有的对象都有相同的数据结构,并且共享相同的操作代码,所以说类是所有对象共同的行为和不同状态的集合体。本文通过对电视机类的定义阐述了电视机的基本功能及工作原理,来说明类是创建对象的模块,一个类所有的对象都有相同的数据结构的概念。

关 键 词:面向对象程序设计 数据结构 程序设计方法 计算机科学 代码 组织模型 共享 物体 概念 基本功能
文章编号:1004-373X(2004)24-098-02
修稿时间:2004-07-30

Discussion on Object Oriented Programming
YU Jianwu. Discussion on Object Oriented Programming[J]. Modern Electronic Technique, 2004, 27(24): 98-99
Authors:YU Jianwu
Abstract: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.
Keywords:object oriented  class  abstract  inheritance  encapsulation  polymorphism  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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