Final answer:
When a program attempts to access an item at an invalid index in an array, it results in an Array Index Out of Bounds exception.
Step-by-step explanation:
When a program attempts to access an item at an index that is less than zero or greater than or equal to the array's length, it results in an Array Index Out of Bounds exception.
For example, if an array has a length of 5 and you try to access the item at index 5 or -1, it will throw an exception.
This occurs because arrays are zero-indexed, meaning the first element is at index 0 and the last element is at index length - 1.