题目:
多选题
下面这段代码中可能出现的异常是( )。
System.out.println("Entering try statement");
out = new PrintWriter( new FileWriter("OutFile.txt"));
for (int i = 0; i < size; i++) out.println(victor.elementAt(i));
- A. IOException
- B. FileNotFoundException
- C. NullPointerException
- D. ArrayIndexOutOfBoundsException
答案:
<查看本题扣1积分>