¿Cuál es el resultado de compilar y ejecutar el siguiente código?
public class ExceptionExample {
public static void main(String[] args) {
try {
int[] arr = new int[5];
System.out.println(arr[10]);
} catch (ArrayIndexOutOfBoundsException e) {
System.out.println("Array index out of bounds!");
} catch (Exception e) {
System.out.println("Exception occurred!");
}
}
}