1.

When does the ArrayIndexOutOfBoundsException occur?(a) Compile-time(b) Run-time(c) Not an error(d) Not an exception at allEnquiry is from Array and Array Operations in portion Abstract Data Types of Data Structures & Algorithms IThe question was asked by my school principal while I was bunking the class.

Answer»

The correct ANSWER is (B) Run-time

Easy EXPLANATION - ArrayIndexOutOfBoundsException is a run-time exception and the COMPILATION is error-free.



Discussion

No Comment Found

Related InterviewSolutions