AP Computer Science Amediummcq1 pt
The method list.remove(0) on an Integer list returns
A.the element that was removed
B.the list size
C.nothing
D.a boolean
remove returns the deleted element.
Athe element that was removed
Practice more AP Computer Science A questions with full explanations
Practice Unit 7: ArrayList Questions →