Skip to content

Removing while iterating

java for (String s : list) { if (s.isEmpty()) list.remove(s); }

What happens?