How does the Java for each loop work?
Using for each loop in Java : Example
for(Iterator<String> i = someList.iterator(); i.hasNext(); ) { String item = i.next(); System.out.println(item); }
Post Answer
Preview: