试题详情
- 单项选择题 class Number { public static void main(String [] args) { try { System.out.print(Integer.parseInt("forty ")); } catch (RuntimeException r) { System.out.print("runtime "); } catch (NumberFormatException e) { System.out.print("number "); } } } 结果是什么?()
A、forty
B、number
C、runtime
D、编译失败
- D
关注下方微信公众号,在线模考后查看
热门试题