Object-Oriented Programming with Java Lecture Notes

28 February 2008 • Inner Classes


This interface is from Java versions prior Java 5. From Java 5 on, the Iterator interface is generic:

public Interface<E> Iterator {
  boolean hasNext();
  E next();
  void remove();
  }


This page last modified on 24 January 2006.