AP Computer Science Amediummcq1 pt
Accessing index 5 of an array of length 5
A.throws an exception
B.returns the last element
C.returns 0
D.returns null
Index 5 is past the last index 4.
Athrows an exception
Practice more AP Computer Science A questions with full explanations
Practice Unit 6: Array Questions →