/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package fancyfor;

import java.util.ArrayList;
import java.util.Iterator;

/**
 *
 * @author Matthew
 */
public class FancyFor {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        ArrayList<String> myList = new ArrayList();
        myList.add("a");
        myList.add("b");
        myList.add("c");
        myList.add("d");
        myList.add("e");
        
        for(String i : myList) {
            System.out.println(i);
        }
    }
    
}
