What is the difference between "ArrayList and Vector"? I am aware that arraylist is non-synchronized and vector is synchronized. But i heard that we can create a synchronized arraylist as follows.
List list = Collections.synchronizedList(new ArrayList());
If we are able to create synchronized arraylist, what is the advantage of vector over arraylist? In what situation arraylist is used and in what situation vector should be used?