What happens in Java when a program tries to use a subscript that is out of bounds?

Question:

What happens in Java when a program tries to use a subscript that is out of bounds?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: