AP Computer Science Amediummcq1 pt
After list.add(4); list.add(9); list.set(0, 7), list.get(0) is
A.7
B.4
C.9
D.null
set replaced index 0 with 7.
A7
Practice more AP Computer Science A questions with full explanations
Practice Unit 7: ArrayList Questions →