Example
First, two class reference variables CREF1 and CREF2 are declared for the classes C_COUNTER1 and C_COUNTER2. An interface reference IREF is also declared for the interface I_COUNTER. All of the reference variables are initial.