nresni (8) [Avatar] Offline

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
Re: p42 - Dealing with public instance variables
Good point. I will fix that.

-- Aslam