package cn.tedu.type1;
public class ForDemo {
public static void main(String[] args) {
outer: for (int j = 1;j<10;j++){
for (int i =0;i<10;i++){
System.out.println(i);
if (i==8){
System.out.println("结束了 ");
break outer;
}
}
}
}
}