1. int j=2;
2. switch(j){
3. case 2:
4. System.out.println("value is two");
5. case 2+1:
6. System.out.println("value is three");
7. break;
8. default:
9. System.out.println("value is"+j);
10. break;
11. }
A、打印输出value is two﹑value is three和value is 2
B、打印输出value is two和value is three
C、打印输出value is two
D、开关因子j的类型只能为byte.short.int或long.
E、第5行产生编译错误
B