试题详情
- 单项选择题 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"); } } } 结果为:()
A、42
B、done
C、dot =
D、编译失败
- C
关注下方微信公众号,在线模考后查看
热门试题