本帖最后由 android0276 于 2014-7-6 20:25 编辑
public class Test {
public static void main(String[] args) {
for (int i =1; i < 5; i++) {
switch (i) {
case 1:
System.out.println("1111111");
break;
default:
System.out.println("kkkkkkk");
case 2:
System.out.println("2222222");
break;
}
}
}
} |
|