Re: Java collections



Great. That works.
What I don't understand is that when I printed out the values of the
Cust object, like FIRST_NAME, it was different each time through the
loop. So I was adding the different field values to the collection but
it went back and changed the FIRST_NAME values already added to the
collection to the most recent value. I can't see why the values already
added were changed.
Any explanation?

.