The ABAP program can use the reference variables to access individual objects, that is in this case, to call the public methods of the class C_COUNTER.

Each object has its own state, since the private instance attribute COUNT has a separate value for each object. The program on the left-hand side administers several independent counters.