[填空題] 下列程序段的輸出結果為 ______。 int a=2; switch (a) case 2:System.out.print("Value
2021-07-20
[填空題] 下列程序段的輸出結果為 ______。
int a=2;
switch (a)
case 2:
System.out.print("Value is 2.");
case 3:
System.out.println("Value is.");
break;
default:
System.out.println("end");
break;
正確答案:Value is 2.Value is 3.
詞條內容僅供參考,如果您需要解決具體問題
(尤其在法律、醫(yī)學等領域),建議您咨詢相關領域專業(yè)人士。