DocumentCode
1648382
Title
Inheritance and subtyping methods, modifications and analytical quantification
Author
Naeem, Majid ; Harrison, C.J.
Author_Institution
Dept. of Comput. Sci., Punjab Univ., Lahore, Pakistan
fYear
2004
Firstpage
737
Lastpage
742
Abstract
Object-oriented languages provide support for reusability and modularity. Reusability is achieved by inheritance, whereas modularity is achieved by the encapsulation of methods. Inheritance can be considered to be an implementation technique that saves the effort associated with code duplication. Although inheritance results in a specialization or refinement of a superclass, it is possible that if one class inherits from another, the type of the objects generated by the derived class in not necessarily a subtype of the type of the objects generated by the original class. This paper reviews existing techniques for solving this problem and proposes an approach used in the design of a statically-typed object-oriented language called POOL, together with criteria for analyzing and comparing such techniques.
Keywords
data encapsulation; object-oriented languages; POOL language; analytical quantification; code duplication; encapsulation method; statically-typed object-oriented language; Encapsulation;
fLanguage
English
Publisher
ieee
Conference_Titel
Multitopic Conference, 2004. Proceedings of INMIC 2004. 8th International
Print_ISBN
0-7803-8680-9
Type
conf
DOI
10.1109/INMIC.2004.1492987
Filename
1492987
Link To Document