I'm not really following your logic here. your deposit onto an account is an ArrayList???
stultuske
Posting Sensei
3,137 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 433
What is contained in a Current object?
Does it have methods for getting at its contents?
NormR1
Posting Expert
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656
To update the contents of an object in the array list, you need to search through the array list's contents until you find the object (based on an account number) and then call one of the object's methods to do the update.
NormR1
Posting Expert
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656
What new value? What is this "new value"?
Please explain when and why you are creating a new value?
NormR1
Posting Expert
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656
I thought that the Current class contained the data and values.
The array list contains Current class objects, not the data.
What value are you updating when you make a deposit? Where is that value?
NormR1
Posting Expert
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656