The arrayOutofBoundsException means that the capacity of array you wanna store the elements is not big enough. So it is out of bounds. Here is the figuration:
1. you can change the capacity of your...