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

时间:2024-04-23 20:38:56

相似题目