Vector is synchronized.As of the Java 2 platform v1.2, this class has been retrofitted to implement List, so that it becomes a part of Java's collection framework. Unlike the new collection implementations, Vector is synchronized.
调试欢乐多
我刚学的ArryList不是
但是可以通过来同步
List list = Collections.synchronizedList(new ArrayList(...));