Hi All,
When we modify the structure of an ArrayList while iterating, we will get ConcurrentModificationException. To avoid it, we can perform, say remove() on an iterator object.
But how does it impact the list, at the end of an iteration/
I went throw the
Java internals as well, but am clueless on how it happens.
Please throw some light on this section.