nresni (8) [Avatar] Offline
#1
hi,

In the example of dealing with public instance variables, and more precisely in adjustBalance method, you copy a Customer, with deepCopy method, and after you assign a value of balance, but if the variable is final you cannot to do this because the variable is assigned into the constructor of Customer.

++
aslam.khan (50) [Avatar] Offline
#2
Re: p42 - Dealing with public instance variables
Good point. I will fix that.

-- Aslam