下列程序段的输出结果为______。int a=2;switch(A) case
题型:填空题
问题:
下列程序段的输出结果为______。
int a=2;
switch(A)
case 2:
System.out.println("Value is 2.");
case 3:
System.out.println("Value is 3.");
break;
default:
System.out.println("end");
break;
下列程序段的输出结果为______。
int a=2;
switch(A)
case 2:
System.out.println("Value is 2.");
case 3:
System.out.println("Value is 3.");
break;
default:
System.out.println("end");
break;