【单选题】下面代码的运行输出结果是( )。public class example{public static void main(String args[]) { int X=0; if(X>0) X=1; switch(X) { case 1: System.out.println(1); case 0: System.out.println(0); case 2: System.out.prin...
【单选题】下面代码的运行输出结果是 public class Test { public static void main(String args[]) { int x = 0; if (x > 0) x = 1; switch (x) { case 1: System. out .println(1); case 0: System. out .println(0); case 2: System. ou...