Explain why the following code displays [1, 3] rather than [2, 3]. ArrayList
list.add(1);
list.add(2);
list.add(3);
list.remove(1);
System.out.println(list);
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.