多选题
Given:
42. String s = "";
43. if(011 == 9) s += 4;
44. if(0x11 == 17) s += 5;
45. Integer I = 12345;
46. if(I.intValue() == Integer.valueOf("12345")) s += 6;
47. System.out.println(s);
What is the result?
A、
5
B、
45
C、
46
D、
56
E、
456
F、
Compilation fails.
G、
An exception is thrown at runtime.
【正确答案】
E
【答案解析】
提交答案
关闭