contiune的用法 程序中 contiune oouter 换成contiune inner 怎么结果一样呢 求解释
public class MyClass{
public static void main(String argv[]){
int i;
int j;
outer: for (i = 1; i < 3; i++)
inner: for(j = 1; j < 3; j++) {
if (j == 2)
continue outer; //这换成contiune inner后怎么结果一样呢
System.out.println
("Value for i = " + i + " Value for j = " +j);
}
}
}
|