1. double [] = new x[3];
int i;
/* initialize i, x[0], x[1], x[2] somehow */
System.out.println(x[i]);
이게
다음중 어떤 exception에 포함되나요??
ArithmeticException | |
ArrayIndexOutOfBoundException | |
FileNotFoundException | |
NumberFormatException |
2. PrintWriter fout = new PrintWriter("employeeData.txt");
double wages;
// initialize wages somehow
fout.println(wages);
이건 다음중에 어떤 exception에 포함되나요?
ArithmeticException | |
ArrayIndexOutOfBoundException | |
FileNotFoundException | |
NumberFormatException |
긁어올거면 좀 재대로 긁어오지
예외 뜨면 어떤 예외인지 코드로 확인 가능해여!
try{...}catch(Exception e){System.out.println(e.toString());}
알아서 하슈