✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What will be displayed on the console when running the following code?
ArrayList<Integer> l1 = new ArrayList<>();l1.add(1); l1.add(2); l1.add(3);l1.remove(2);System.out.println(l1);