الرجوع
تسجيل الدخول

What will be the output of the following code?

try {
    int[] arr = new int[5];
    arr[5] = 10;
} catch (ArrayIndexOutOfBoundsException e) {
    System.out.printl("Array index out of bounds. ");
} finally {
    System.out.println("Finally block executed.");
}