A developer needs to remove elements from an ArrayList<String> while iterating over it. Which approach is safest and avoids ConcurrentModificationException?
Select one:
The trap here is that candidates often assume the index-based loop (option B) is safe because it avo...