public class MultiExceptionCodePG {
public static void main(String[] args) {
try{ int arr[] = new int[5];
  arr[0] = 10;
  arr[1] = 11;
  arr[2] = 12;
  arr[3] = 13;
  arr[4] = 14;
  arr[5] = 15/0; }
catch(ArithmeticException e){System.out.println(e);}
catch(ArrayIndexOutOfBoundsException e){System.out.println(e);}
catch(Exception e){System.out.println(e);}
System.out.println("Resume to rest of the code after ArrayIndexOutofBound Exception");
}
}
