How can Arraylist be synchronized without using Vector?

 Arraylist can be synchronized using: 
• Collection.synchronizedList(List list) 
Other collections can be synchronized: 
• Collection.synchronizedMap(Map map) 
• Collection.synchronizedCollection(Collection c) 

No comments:

Post a Comment

Please Provide your feedback here