import java.util.ArrayList;
import java.util.Collections;
import java.util.Enumeration;
import java.util.Vector;
public class Main {
public static void main(String[] args) {
Vector v = new Vector();
v.add("A");
v.add("B");
v.add("D");
v.add("E");
v.add("F");
System.out.println(v);
Enumeration e = v.elements();
ArrayList aList = Collections.list(e);
System.out.println(aList);
}
}
/*
[A, B, D, E, F]
[A, B, D, E, F]
*/