xD
I found a solution a little while ago :O
by setting the type of the iterator, didnt know i could do it.
Iterator<word> itr = words.iterator();
Type: Posts; User: rsala004
xD
I found a solution a little while ago :O
by setting the type of the iterator, didnt know i could do it.
Iterator<word> itr = words.iterator();
I get compile error when trying to use method of something i got off iterator.next()
first off, I have a class named word, it has a method called getWord which returns a String.
import...