The object program contains the definition of data and methods for all instances of the class.
General Format
General Rules
- If a data-item is declared in the Object-Storage Section of an object program, it is instance data. Instance data may be referenced only in instance methods.
- Data items are in their initial state at the start of the run unit and remain in their last used state between method invocations.
- Method-1 is an instance method.