Live quiz

java - Part 46

Question 1 of 25 Hints left: 3
Q1

What is the result of the following code snippet? try { int[] arr = new int[5]; int value = arr[10]; } catch (ArrayIndexOutOfBoundsException e) { System.out.println("Exception Caught!"); } finally { System.out.println("Finally Block!"); }

  • A
  • B
  • C
  • D