Re: Java collections



The only thing I can think of is the collection points to the Cust
object and when the Cust object changes, all occurences in the
collection change as well since they are all pointing to the same
object.
But how does adding a new Customer each time help? Do the old ones hang
around being pointed to by the various occurences of the collection?

.