ENCAPSULATION, DELEGATION AND INHERITANCE IN OBJECT-ORIENTED LANGUAGES

被引:2
|
作者
WOLCZKO, M [1 ]
机构
[1] UNIV MANCHESTER,DEPT COMP SCI,MANCHESTER M13 9PL,LANCS,ENGLAND
来源
SOFTWARE ENGINEERING JOURNAL | 1992年 / 7卷 / 02期
关键词
D O I
10.1049/sej.1992.0010
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
For the reuse of software to become routine, it is essential that all modules have well defined interfaces and that all users of these Modules respect these interfaces. This paper examines the interfaces in object-oriented programs. It uses the notion of delegation, which can be thought of as underlying all inheritance mechanisms, to provide a framework for the examination of encapsulation mechanisms in object-oriented languages. Using delegation, the encapsulation mechanisms in class-based languages are reviewed, and suggestions are made as to how they might be improved.
引用
收藏
页码:95 / 101
页数:7
相关论文
共 50 条