Java - Exception Handling
What will be the output of this Java program?
public class ArrayTest {
public static void main(String[] args) {
try {
int[] numbers = new int[3];
numbers[4] = 50;
} catch (ArrayIndexOutOfBoundsException e) {
System.out.println("Array index is out of bounds");
}
}
}