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

11 查阅

[填空题] 下列程序段的输出结果为__________。  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.

计算机考试