✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
import java.util.*;
public class Main {
public static void main(String[] args){
ArrayList
l = new ArrayList<>();
l.add("a"); l.add("b");
System.out.println(l.get(1));
}
}