Top

Discussion

When does the ArrayIndexOutOfBoundsException occur?

  • A.Compile-time
  • B.Run-time
  • C.Not an error
  • D.Not an exception at all

Answer: B

ArrayIndexOutOfBoundsException is a run-time exception and the compilation is error-free.

No comment is present. Be the first to comment.
Loading…

Post your comment