Java - Exception Handling
What will be the output of the following code?
try {
int[] arr = new int[2];
System.out.println(arr[5]);
} catch (ArrayIndexOutOfBoundsException e) {
System.out.println("Index error");
} catch (Exception e) {
System.out.println("General error");
}