logo

Crowdly

Browser

Add to Chrome

Kas antud kood kompileerub? Kui jah, siis mis viga siin võib esineda? List<Stri...

✅ 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);

}

0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.taltech.ee?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome