2012年8月4日 星期六

Java froeach


 //對每個陣列v1 在a裡面
for(int[] v1 : a){
//對每個整立v 在v1裡面
for(int v : v1){
System.out.print(v +",");
}
}


for(型態:陣列){


}