adplus-dvertising
frame-decoration

Question

When does the ArrayIndexOutOfBoundsException occur?

a.

Compile-time

b.

Run-time

c.

Not an error

d.

None of the mentioned

Answer: (b).Run-time

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. When does the ArrayIndexOutOfBoundsException occur?