2.4. MethodsA method is an implementation of an operation. Each class typically provides an implementation for its operations or inherits them from its superclass (see "Generalization"). If a class doesn't provide an implementation for an operation, and one isn't provided by its superclass, the operation is considered abstract. See "Abstract Classes" for more information. Because methods are implementations of operations, there is no notation for a method; simply show an operation on a class. |