1. Here is line 27 in WordList.java.
Iterator i = myWords.keySet().iterator();
a. Write the declaration header for the iterator method.
The question seems ambiguous to me. I know that class Iterator has
three methods hasNext(), next(), and remove() but concerning the Map
myWords.keySet() what exactly does iterator() stand for here. Of
course, the next line in the program is something like
while (iterator.hasNext())
but does myWords.keySet().iterator() mean iterator here is i.hasNext
()?