The following code segment has been created . What would be the output if we were to create a program and run it int[] a = {1,2,3,4,5}; try { for(int i = 0; i <= a.length;="">=> a[i]++; int ac = 10; int b = ac/0; } catch(ArrayIndexOutOfBoundsException e) { System.out.print( "Index out of bound "); } catch(Exception e) { System.out.print("division by zero "); }
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here