AP Computer Science Aeasymcq1 pt
The method list.get(2) returns
A.the element at index 2
B.the second element's value doubled
C.the list size
D.index 2's size
get retrieves by index.
Athe element at index 2
Practice more AP Computer Science A questions with full explanations
Practice Unit 7: ArrayList Questions →