Conny Lundgren

On Agile, Development, Mac, Technology and life in general.

Java 5 For-each-loop

| Comments

One of the nicer features of JDK5 is the enhanced for loop (or the foreach loop). has published an article with in-depth information about this construct. I highly recommend reading the article, it contains some (at least to me) new information.

Nuances of the Java 5.0 for-each Loop