|
|||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||
ABSTRACT
In this note, two different definitions of object-oriented programming, whether a class is equivalent to a type or not, will be presented. Then the relative merits of the two definitions, regarding encapsulation of objects, type checking, genericity, and inheritance of objects, will be discussed. In particular, a C++ sample program will be given to illustrate that the encapsulation of objects may be violated. REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
INDEX TERMS
Primary Classification:
Additional Classification:
|
|||||||||||||||||||||||||||||||