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
答案解析:有
微信扫一扫手机做题