DocumentCode
2493916
Title
Inheriting and modifying behavior
Author
Soundarajan, Neelam ; Fridella, Stephen
Author_Institution
Dept. of Comput. & Inf. Sci., Ohio State Univ., Columbus, OH, USA
fYear
1997
fDate
28 Jul-1 Aug 1997
Firstpage
148
Lastpage
162
Abstract
In languages such as C++, the mechanism of protected members is critical to making inheritance work. It allows access to some of the intervals of a base class B to the designer of a derived class D, while denying it to clients of B. The authors develop a formal approach in which class behavior is precisely specified in terms of an abstract specification and a concrete specification, the former for use by a client, the latter containing information about how the protected members change, for use by a derived class designer. They present rules that allow one to establish that a class meets both specifications
Keywords
C language; formal specification; inheritance; object-oriented languages; object-oriented programming; C++; abstract specification; base class intervals; behavior modification; concrete specification; derived class; formal approach; inheritance; protected members; Buildings; Concrete; Information science; Protection;
fLanguage
English
Publisher
ieee
Conference_Titel
Technology of Object-Oriented Languages and Systems, 1997. TOOLS 23. Proceedings
Conference_Location
Santa Barbara, CA
Print_ISBN
0-8186-8383-X
Type
conf
DOI
10.1109/TOOLS.1997.654715
Filename
654715
Link To Document