Traditional way Pros: - an iconic way - can access to both index and value at the same time Cons: - too much code Use: - when you need to know the index of the element in a loop. The Iterator way In Java, Array and Collection all implement Iterable which returns an Iterator. If … Continue reading How to iterate over a Collection in Java?