A. 非检查型异常 B. 检查型异常 C. Error D. Exception
A. printStackTrace()用来跟踪异常事件发生时执行堆栈的内容 B. catch块中可以出现同类型异常 C. 一个try块可以包含多个catch块 D. 捕获到异常后将输出所有catch语句块的内容
A. NumberFormatException B. Exception C. Error D. RuntimeException
A. IOException B. ArithmeticException C. SQLException D. ArrayIndexOutOfBoundsException
A. one three end B. two three end C. one two three end D. two end
A. a = 0 B. a = 0除数不允许为0 C. a = 1数组越界 D. a = 0除数允许为0
A. id=a101name=Tom B. id=a101name=Tom输入结束 C. 输入数据不合规范 D. 输入数据不合规范输入结束java.util.InputMismatchException…
A. 1 B. 10 C. 20 D. 30
A. new Throwable() B. new Exception() C. new InputMismatchException() D. new ArithmeticException("算术异常")
A. throw new Exception() B. throw new MyException() C. throw MyException D. throws Exception