The class object is an object that acts as a creator of objects.
General Format
General Rules
- If a data-item is declared in the Object-Storage Section of a class object, it is class data. Class data may be referenced only in class methods. Class data can be inherited by subclasses.
- Data is in its initial state at the start of the run unit and remains in its last used state between method invocations.
- Method-1 is a class method.