How to Resolve ConcurrentModificationException

The ConcurrentModificationException comes under RuntimeException, and may be thrown by the methods that have detected concurrent modification of an object when such modification is not allowed. When a thread is iterating over a Collection, generally it is not allowed for another thread to modify a Collection. The ConcurrentModificationException can arise in single threaded as well … Read more