Vector<String> my_array = new Vector<String>(); ArrayList<String> my_array = new ArrayList<String>();A. Vector is synchronized. ArrayList allows null as an element. Both are growable.
Programming Tips - Java: What the difference between ArrayList and Vector?
Date: 2010dec21
Language: Java
Q. Java: What the difference between ArrayList and Vector?
Example use: