Question: This seems easy. I have tried debugging it, and it keeps throwing an exception. Sanity check please?

```
int[] array = {0, 1, 2, 3, 4, 5};
for(int i = 0; i <= array.length; i++) {
 System.out.println(array[i]);
}

```

Answer: 
You can always iterate the array from `0` to `array.length-1`. You are trying to access the element at index which is out of bound of array length.
`ArrayIndexOutOfBounds`, since arrays in java are 0based, the highest index of an array with length 'l' is 'l-1'.