Enumeration
- An object that implements the Enumeration interface generates a series of elements, one at a time.
- Successive calls to the nextElement method return successive elements of the series.
Vector vect = new Vector();
vect.addElement("Blipp");
for (Enumeration e = vect.elements() ; e.hasMoreElements() ;)
System.out.println(e.nextElement());