单项选择题
A.true
B.false
C.编译失败
D.输出不可预期
单项选择题 class Passer { static final int x = 5; public static void main(String [] args) { new Passer().go(x); System.out.print(x); } void go(int x) { System.out.print(++x); } } 结果是什么?()
单项选择题 class Beta { public static void main(String [] args) { Integer x = new Integer(6) * 7; if (x != 42) { System.out.print("42 "); } else if (x 〈 new Integer(44-1)) { System.out.println("less"); } else { System.out.print("done"); } } } 结果是什么?()
单项选择题 假设有字符串“123”,能把该字符串变成整数的方法是哪几项?()