الرجوع
تسجيل الدخول
أنت تتصفح نسخة مؤرشفة من الموقع اضغط للانتقال إلى الموقع الجديد بكامل المزايا

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.");
}