AP Computer Science Ahardmcq1 pt
Which code reverses an ArrayList<Integer> list in place?
A.swap get(i) and get(size - 1 - i) with a temp through the first half
B.iterate forward calling add(get(i))
C.call list.reverse()
D.remove and re-add only the first element