Exercise 6
Exercise 6
EXERCISE - 6
System.out.println(e);
}
catch(ArrayIndexOutOfBoundsException e)
{
System.out.println(e);
}
System.out.println("After the catch statement");
}
}
OUT-PUT:
java.lang.ArrayIndexOutOfBoundsException:
10After the catch statement