The correct method to remove the second element from an ArrayList is x.remove(1).
The correct method to remove the second element from an ArrayList is x.remove(1). This will cause the list to become [Beijing].
9.5m questions
12.2m answers