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: 
This:

```
i <= array.length

```

Will loop from 0-6. As the exception is undoubtedly telling you (and you really should read it), there is no index `6` in your array.

Try this:

```
i < array.length

```
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.