public interface CarIterator { public Iterator createIterator(); }
C:\Documents and Settings\20818781\Desktop\Pattern_iterator\CarIterator.java:3: cannot find symbol symbol : class Iterator location: interface CarIterator public Iterator createIterator(); ^ 1 error Process completed.
java.util
import java.util.Iterator;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)