【单选题】下面代码的运行输出结果是 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...
【单选题】下面代码的运行输出结果是( )。 public class Conditional{ public static void main(String args[ ]){ int x=45; System.out.println(“value is”+((x>4) ?99.99 : 9) ); }