Java Tutorial
- http://java.sun.com/docs/books/tutorial/java/nutsandbolts/for.html
- Java Links
- jdk-5.0 chm
- The lightweight Java IDE
- java class簡介
public class ForEachDemo
{ public static void main(String[] args)
{ int[] arrayOfInts = { 32, 87, 3, 589, 12, 1076, 2000, 8, 622, 127 };
for (int element : arrayOfInts) { System.out.print(element + " "); }
System.out.println(); } }