java.util.Vector v = new java.util.Vector();v.add("String 1");v.add("String 2");v.add("String 3");java.util.Iterator it = v.iterator();while (it.hasNext()){ System.out.println((String) it.next());