填空题

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