Can anyone answer this question?

```
public class AddingArray {
  public static void main(String[] args){
      int arry1[] = {2,3,4,5,6,7,9};
      int arry2[] = {4,3,7,9,3,5};

      for(int i = 0; i <arry1.length; i++){
          int result = arry1[i] + arry2[i];
          System.out.println("Result "+result);
      }
   }
}

```

Whenever I try executing the above code I get the error Exception in 

```
thread "main" java.lang.ArrayIndexOutOfBoundsException: 6   at
basics.AddingArray.main(AddingArray.java:9)

```

But,my output should be like this 6,6,11,14,9,12,9