//Ryan Goodfellow CS580 Final public class Program { public static void main(String[] args){ System.out.println("Begin Iterator Test"); //Create a new range object Range r = new Range(2,12); //Iterate over it and print the results while(r.hasNext()) { Integer i = r.next(); System.out.println(i); } System.out.println(r.next()); System.out.println("Iterator test complete!"); } }