After the following code runs, what would the first item in the list be?

List<Integer> list = new ArrayList<Integer>();
list.add(1);
list.add(2);
list.add(3);
list.remove(0);
list.add(4);
2
  • 1
  • 3
  • 4

There are no hints for this question