AP Computer Science A

study guides for every class

that actually explain what's on your next test

ArrayIndexOutOfBoundsException

from class:

AP Computer Science A

Definition

ArrayIndexOutOfBoundsException is an exception that occurs when trying to access an invalid index position in an array. It is thrown to indicate that the index used to access an array is either negative or greater than or equal to the size of the array.

congrats on reading the definition of ArrayIndexOutOfBoundsException. now let's actually learn it.

ok, let's learn stuff
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.