AP Computer Science Aeasymcq1 pt
Which statement appends a new element at the end of list?
A.list.add(value)
B.list.set(value)
C.list.get(value)
D.list.remove(value)
One-argument add appends.
Alist.add(value)
Practice more AP Computer Science A questions with full explanations
Practice Unit 7: ArrayList Questions →