as it's property.
I want to iterate through this list and change values of elements.
So I use
listIterator
and its
set
method to change element values.
But when I exit a loop and print out a list from original object I see no changes.
How do I change the original object?