检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:孔小利[1]
机构地区:[1]承德石油高等专科学校计算机系,河北承德067000
出 处:《大庆石油学院学报》2003年第3期66-69,共4页Journal of Daqing Petroleum Institute
基 金:河北省自然科学基金资助项目 ( 6 0 2 4 0 5)
摘 要:针对在面向对象的程序设计中 ,如何建立对象之间特别是不同类型对象之间的数据结构 ,如何处理数据等问题 ,研究了面向对象程序设计技术中的多态性 .提出了应用多态程序设计技术建立对象数据结构和数据处理的方法 ,即在不同类的对象之间建立连接关系 ,构成链表、树、图等数据结构 .处理对象节点时 ,根据不同的对象自动调用不同的处理代码 .In view of the problem of how to create the data structure am ong objects, especially different class objects, and how to process data, this p aper studies the polymorphism of oriented object programming, puts forward the m ethod by which we can create the data structure among objects and process data a s well as create the linking relation among different object, constructs data st ructure, such as link list, tree, graph etc, resorts to corresponding code segme nt according to the type of object when processing the node. The important code segments is given in JAVA language.
关 键 词:面向对象程序设计 多态性 数据结构 数据处理 动态链接
分 类 号:TP311.12[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15