AP Computer Science Aeasymcq1 pt
The bounds check that throws ArrayIndexOutOfBoundsException happens
A.at runtime
B.at compile time
C.never
D.only for String arrays
The JVM checks indexes while running.
Aat runtime
Practice more AP Computer Science A questions with full explanations
Practice Unit 6: Array Questions →