1. double [] = new x[3];

  int i;

  /* initialize i, x[0], x[1], x[2] somehow */

  System.out.println(x[i]);


이게 

다음중 어떤 exception에 포함되나요??

Question 8 options:

ArithmeticException


ArrayIndexOutOfBoundException 


FileNotFoundException


NumberFormatException



2. PrintWriter fout = new PrintWriter("employeeData.txt");

double wages;

// initialize wages somehow

fout.println(wages);

이건 다음중에 어떤 exception에 포함되나요?


ArithmeticException


ArrayIndexOutOfBoundException 


FileNotFoundException


NumberFormatException