Tuesday, February 27, 2007 05:02 AM
yes we can make an ArrayList synchronized.
ex: ArrayList syncedList = java.util.Collections.synchronizedList(new ArrayList());
it is needed when you are putting some data in ArrayList and all your Threads trying to modify the data in your ArrayList. Then it will be needful.