for-each 構文あったらしい。

Java5 から。

int[] a = {1, 3, 2, 4, 8};
for(int i : a){
	System.out.printf(i);
}

こういう書き方できるのか。

test