Vector vs ArrayList in Java

ArrayList and Vectors both implement the List interface and both use (dynamically resizable) arrays for its internal data structure, much like using an ordinary array.Syntax: ArrayList<T> al = new ArrayList<T>(); Vector<T> v…

Continue Reading