classCalc{2.publicstaticvoidmain(String[]args){3.try{4.intx=Integer.parseInt("42a");5.//in

9 查阅

A.}catch(ClassCastExceptionc){

B.}catch(IllegalStateExceptionc){

C.}catch(NumberFormatExceptionn){

D.}catch(IllegalArgumentExceptione){

参考答案:

参考C, D

计算机考试