Using iterators  Should always call hasNext before calling next  Otherwise could get NoSuchElement exception  Can use for each loop with any object that implements Iterable interface Iterator iter = c.iterator(); while (iter.hasNext()) { String element = (String) iter.next(); // Do something with element } for (String element: c) { // Do something with element }