问题 单项选择题

以下程序段的输出结果为( )。
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.two.three.

B.two

C.three

D.value is 2

答案

参考答案:A

填空题
材料分析题