The variable named savings in one class is entirely separate from a variable with the same name in another class.
The PiggyClass's method: getSaving() will return the value of savings in the...
Type: Posts; User: Norm
The variable named savings in one class is entirely separate from a variable with the same name in another class.
The PiggyClass's method: getSaving() will return the value of savings in the...
What error messages were you getting?
What variable is the problem?