标签:ar java for amp 方法 print oo ld system
int arr[][] ={{1,2,3},{4,5,6,7},{9}};
boolean found = false;
for(int i=0;i<arr.length&& !found;i++) {
for(int j=0;j<arr[i].length;j++){
System.out.println(“i=” + i + “,j=” + j);
if(arr[i][j] ==5) {
found = true;
break;
}
}
}
标签:ar java for amp 方法 print oo ld system
原文地址:http://www.cnblogs.com/yuyezhulan/p/4019698.html