OO - programming in Ada

被引:0
|
作者
Smith, Mike [1 ]
机构
[1] Univ of Brighton, Brighton, United Kingdom
来源
Ada user | 1996年 / 17卷 / 03期
关键词
Object oriented programming - Software engineering - Subroutines;
D O I
暂无
中图分类号
学科分类号
摘要
Programming language Ada 95 provides a safe and secure way of implementing programs using the object-oriented paradigm. One application of this language is in a program dealing with the processing of bank transactions, wherein software objects for individual bank accounts are created. The implementation of the method is hidden from the sender of the message. The state of the object can only be accessed or changed by sending a message to the object. The state of an object is represented by instance attributes or variables. Objects having identical instance attributes and methods belong to the same class. The use of this mechanism enables the implementation detail to be hidden from a programmer who uses the object, thus promoting good software practice.
引用
收藏
页码:125 / 131
相关论文
共 50 条