的值是()。
A.24
B.26
C.28
D.27
参考答案:B
---I have enjoyed the party so much, but I have to go home now, it’s too late.
--- _______________
A.Have another try.
B.What a pity!
C.Congratulations.
D.It’s a pleasure.
有如下程序 public class Sun { public static void main(String args[ ]) {int x=1,a=0,b=0;switch(x){ case 0:b++; case 1:a++; case 2: a++; b++; }System.out.println("a="+a+","+"b="+B) } }该程序的输出结果是( )。
A.a=2,b=1
B.a=1,b=1
C.a=1,b=0
D.a=0,b=0