用来手工抛弃异常的关键字是()。
A. throws
B. throw
C. try
D. catch
下列程序输出的结果是() class Test{ public static void main(String arg[]){ try{int i=1/0; }catch(ArithmeticException e){ System.out.println(“ArithmeticException”); } catch(Exception e){ System.out.println(“exception”); }finally{ System.out.println(“finally”); } }}
ArithmeticException exception
B. exception
C. exception finally
D. ArithmeticException finally
字节流和字符流的区别是()。
A. 每次读入的字节数不同
B. 前者带有缓冲,后者没有
C. 前者以字节读写,后者以字符读写
D. 二者没有区别
Java语言提供的主要输入/输出流所在的包是()
A. java.io
B. java.util
C. java.math
D. java.io1