I have two thread one thread is adding,removing in ArrayList and another thread iterating with iterator the ArrayList. which thread will get the ConcurrentModificationException;
I have two thread one thread is adding,removing in ArrayList and another thread iterating with iterator the ArrayList. which thread will get the ConcurrentModificationException;