19.14 Chapter Summary
This chapter covered these topics:
- Object oriented concepts and vocabulary
- Object oriented notation
- Standard object oriented Modula-2 extensions.
- Classes, attributes, methods, data access, visibility and inheritance
- Subclasses, overriding methods in OOM-2
- Traced and untraced object classes
- Safeguarded and unsafeguarded module containers
- Circular definitions and self-reference
- Assignment, comparison, reference, and membership test of OOM-2 objects
- Instantiation and destruction
- Classes, attributes, methods, data access, visibility and inheritance
- Some design examples
It included discussion of the following Modula-2 items:
Reserved Words | Standard Identifiers |
FORWARD (new) | none |
FINALLY (new) | |
and of the following Object Oriented Modula-2 items:
Reserved Words | Standard Identifiers |
AS | CREATE |
ABSTRACT | DESTROY |
CLASS | EMPTY |
GUARD | ISMEMBER |
INHERIT | SELF |
OVERRIDE | |
READONLY | |
REVEAL | |
TRACED | |
UNSAFEGUARDED | |
Imports:
Standard Library Imports
From M2OOEXCEPTION:
M2OOExceptions, M2OOException, IsM2OOException
From COROUTINES
DISPOSECOROUTINE
Contents