| <<< Object Attributes | Index | Class-level Attributes >>> |
Instantiate some Numbers:
Number number1 = new Number();
Number number2 = new Number();
Number number3 = new Number();
At this point we have 3 separate copies of the count attribute, because each object allocates its own recourses:
number11.method1();
number12.method2();
number13.method1();
| <<< Object Attributes | Index | Class-level Attributes >>> |