多项选择题
A.x
B.y
C.i
D.j
单项选择题 class Rectangle { public static void main(String [] args) { int [] x = {1,2,3}; x[1] = (x[1] 〉 1) ? x[2] : 0; System.out.println(x[1]); } } 结果为:()
单项选择题 class MyApp{ public static void main(String[] args){ int age; System.out.println(“age=”+age); } } 执行上述代码后输出的结果是哪项?()
单项选择题 class Beta { public static void main(String [] args) { Integer x = new Integer(6) * 7; if (x != 42) { System.out.print("42 "); } else if (x.equals(42)) { System.out.print("dot = "); } else { System.out.print("done"); } } } 结果为:()