✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What will happen here?
List list = Arrays.asList("A", "B");
list.set(0, "C");
list.add("D");
System.out.println(list);