✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is the output of the following code snippet?
ArrayList<Integer> numbers = new ArrayList<>();
numbers.add(1);
numbers.add(2);
System.out.println(numbers.get(1));
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!