Java has a for that iterates over arrays! (And over any object implementing the Iterable interface.)
String[] strings = {"First", "Second", "Third"};
for (String s: strings)
System.out.println(s);
This is spectacular. This most definitely did not exist the last time I looked closely at Java (circa 2001, I think, although most of the Java coding I did happened in 2002-3 or so).
Java's added piece after piece of Perl syntax.
For people like me who haven't checked out Java in a long, long time, it would behoove you to check out Java's version history to see what's been added.
5+ is a lot more usable (Score:2)
-Dom