大家都知道,java中的break是用来跳出重复的,例如
public class Test {
public static void main(String[] args) {
for(int i=0; i<10; i++){
System.out.print(i + " ");
if(i == 5){
break;
}
}
}
}public class Test {
大家都知道,java中的break是用来跳出重复的,例如
public class Test {
public static void main(String[] args) {
for(int i=0; i<10; i++){
System.out.print(i + " ");
if(i == 5){
break;
}
}
}
}public class Test {