万能百科  > 计算机   > 

[填空题] 下列程序段的输出结果为__________。  int a=2;  switch (a)   case2:  System.out.print("V

2021-07-20   

[填空题] 下列程序段的输出结果为__________。  int a=2;  switch (a)   case2:  System.out.print("Value is2.");  case3:  System.out.pritln("Value is3.");  break;  default:  System.out.println("end");  break:  

正确答案:

Value is 2.Value is 3.

词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。

标签