My Jdk version is :"j2sdk1.4.2_08"
please,tell me what is enhanced for loop
Thanks a lot.
The "enhanced for" loop, being discussed in this
thread, is a variant of the "for" loop, that was added into
Java 5. It basically is more of a foreach type of loop -- smart enough to either loop over an array, or via an iterator, automatically.
Henry