Store1.java
F:\JavaCode\sturm\applications>java store1
Symantec Java! JustInTime Compiler Version 210.053 for JDK 1.1.2
Copyright (C) 1996-97 Symantec Corporation
In constructor
Variable value = 1
In constructor
Variable value = 2
Starting program
Variable one status: Variable value = 1
Variable two status: Variable value = 2
Changing object one
In add method
Variable value = 6
Variable one status: Variable value = 6
Variable two status: Variable value = 2
Changing object two
In add method
Variable value = -1
Variable one status: Variable value = 6
Variable two status: Variable value = -1
End of program
F:\JavaCode\sturm\applications>
Store2.java
F:\JavaCode\sturm\applications>java store2
Symantec Java! JustInTime Compiler Version 210.053 for JDK 1.1.2
Copyright (C) 1996-97 Symantec Corporation
In constructor
Variables: value = 1, total = 1
In constructor
Variables: value = 2, total = 3
Starting program
Variable one Status of Variables: value = 1, total = 3
Variable two Status of Variables: value = 2, total = 3
Changing object one
In add method
Variables: value = 6, total = 8
Variable one Status of Variables: value = 6, total = 8
Variable two Status of Variables: value = 2, total = 8
Changing object two
In add method
Variables: value = -1, total = 5
Variable one Status of Variables: value = 6, total = 5
Variable two Status of Variables: value = -1, total = 5
End of program
F:\JavaCode\sturm\applications>
Store3.java
F:\JavaCode\sturm\applications>java Store3
Symantec Java! JustInTime Compiler Version 210.053 for JDK 1.1.2
Copyright (C) 1996-97 Symantec Corporation
In constructor 2
Variables: value = 1, total = 1
In constructor 1
Variables: value = 0, total = 1
Starting program
Variable one Status of Variables: value = 1, total = 1
Variable two Status of Variables: value = 0, total = 1
Changing object one
In add method
Variables: value = 6, total = 6
Variable one Status of Variables: value = 6, total = 6
Variable two Status of Variables: value = 0, total = 6
Changing object two
In add method
Variables: value = -3, total = 3
Variable one Status of Variables: value = 6, total = 3
Variable two Status of Variables: value = -3, total = 3
End of program
F:\JavaCode\sturm\applications>