32014Aug

ArrayList Implementation is not synchronized,if multiple threads access its instance concurrently then how to tackle the problem.

ArrayList should be wrrapped with Collections.synchronizedList method.This should be done at the time of list creation to prevent from unsynchronized Access.

List lt=Collections.synchronizedList(new ArrayList(…));