[填空题] 下列程序段的输出结果为 【8】 。int a=2;switch (a) case 2:System. out. print( "Value is 2."); ca
18 查阅
[填空题] 下列程序段的输出结果为 【8】 。
int a=2;
switch (a)
case 2:
System. out. print( "Value is 2.");
case 3 :
System. out. println( "Value is 3. ");
break;
default:
System. out. println ("end ");
break;
参考答案: