public class ContinueAndBreakTest {
public static void main(String[] args) {
for (int i = 0; i < 3; i++) {
System.out.println("我是iii----外层---" + i);
for (int j = 0; j < 4; j++) {
if (j == 2) {
continue;
}
System.out.println("jjj+++内层~~~" + j);
}
}
for (int i = 0; i < 4; i++) {
if (i == 1) {
break;
}
System.out.println("我是其他的循环");
}
}
}