AP Computer Science Amediummcq1 pt
After list.add(4); list.add(9); list.remove(0); list.size() is
A.1
B.2
C.0
D.3
Two adds then one remove leaves one.
A1
Practice more AP Computer Science A questions with full explanations
Practice Unit 7: ArrayList Questions →