Predict the output
What will be the output for the given code snippet
startprogram
public class Main {
public static void main(String[] args) {
try {
System.out.println(4/0);
try{
Int[] a={1,2,3};
System.out.println(a[3]);
} catch(ArrayIndexOutOfBoundsException e) {
System.out.println(“Out of bounds”);
}
}catch(ArthmeticException e){
System.out.println(“ArithmaticException : divide by 0”);
}
}
}
endprogram