You can also use a special for loop syntax that automatically handles iterators.
for (word w : words) {
System.out.println(w.getWord());
}
Type: Posts; User: literallyjer
You can also use a special for loop syntax that automatically handles iterators.
for (word w : words) {
System.out.println(w.getWord());
}