While running the following code snippet at some scenario, I got the java.util.ConcurrentModificationException exception.
Please advice: How to avoid it? what can be the worse scenario which...