FileDocCategorySizeDatePackage
Iterators1.javaAPI DocExample459Sat Sep 12 03:01:00 BST 1998None

Iterators1

public class Iterators1 extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

    Array array = new Array();
    array.add( "magical" );
    array.add( "mystery" );
    array.add( "tour" );
    Enumeration iterator = array.elements();
    while ( iterator.hasMoreElements() )
      System.out.println( iterator.nextElement() );