SWE 619 In Class Exercise Number 4A


Consider the Java Iterator<E> interface:

   public boolean hasNext();
   public E next() throws NoSuchElementException
   public void remove() throws IllegalStateException