执行下列Java语句:int x = 1; switch (x+1 ) { case 1: System.out.print(One ); case 2: Syst
已帮助 人
执行下列Java语句:int x = 1; switch (x+1 ) { case 1: System.out.print("One" ); case 2: System.out.print("Two" ); case 3: System.out.print("Three" ); default: System.out.print("Error" ); } 显示器上将显示()。
A.One
B.Two
C.TwoThree
D.TwoThreeError

回答
共1条回复-
B
