✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Kas antud kood kompileerub? Kui jah, siis mis viga siin võib esineda?
List<String> list = new ArrayList<>(List.of("a", "b", "c", "d"));for (String item : list) { list.remove(item);}