G
Guest
Are there any collection classes that will take object references to that if
I add an object (could be primitive data types) to it and I change it through
the original object, the one in the collection classes will be changed
automatically too?
The ArrayList would make a copy of the original and therefore would not
reflect the change.
I add an object (could be primitive data types) to it and I change it through
the original object, the one in the collection classes will be changed
automatically too?
The ArrayList would make a copy of the original and therefore would not
reflect the change.