July 2004
Intermediate to advanced
752 pages
35h 59m
English
An operation may be redefined in a specialization of a class. This redefinition may specialize the types of the formal parameters or return results, add new preconditions or postconditions, add new raised exceptions, or otherwise refine the specification of the operation.
The BodyCondition (a constraint on the return value) may be overridden in a redefinition. The postcondition can only be strengthened in a redefinition.
The new operation is included in the subclass with the following string appended:
{ redefines operation-name }
Read now
Unlock full access