As the title suggests, what is the best method for converting an array of strings to a vector?
Thanks
Call the constructor of Vector that uses an existing collection (your array, in this case) to initialize itself:
String[] strings = { "Here", "Are", "Some", "Strings" }; Vector vector = new Vector(Arrays.asList(strings));