以下程序段的输出结果为( )。 int j=2 switch (j){ Case 2: system.out.print("two."): Case 2+1: System.out.println("three."); break: default: System.out.println (“value is”+j): Break }A.B.two
A、
two.three.
B、
two
C、
three
D、
value is 2
【正确答案】
A
【答案解析】
提交答案
关闭