Defining a subclass instance method
A subclass inherits the methods of its superclasses. In a subclass definition, you can override any instance method that the subclass inherits by defining an instance method with the same signature as the inherited method. You can also define new methods that the subclass needs.
About this task
The structure and syntax of a subclass instance method are
identical to those of a class instance method. Define subclass
instance methods in the PROCEDURE DIVISION
of the OBJECT
paragraph
of the subclass definition.
Example: defining a subclass (with methods)