Project 7 -- Interfaces
Due: November 8, 2004 by 11:59 pm

For this assignment, you will write a class that implements the java.util.Iterator interface. We have discussed this interface in class, but you may also want to refer to the online documentation for the Iterator interface as well. Your class should contain an array of strings containing the values 1, 2, 3, .... 10 (in that order). The first call to next should return 1, the second call to next should return 2, etc. If the remove method is called, the text message "Remove is not allowed" should be printed to the screen. Write a main method that uses the methods given in the interface to print the values in your array to the screen in increasing order.

Your program should contain comments that include your name, your EID, as well as a brief description of the project. The program must be submitted in a file called IterTest.java using the turnin program.