AP Computer Science Amediummcq1 pt
After list.add(4); list.add(9); list.set(0, 7), list.size() is
A.2
B.1
C.3
D.0
set replaces without changing size.
A2
Practice more AP Computer Science A questions with full explanations
Practice Unit 7: ArrayList Questions →