How can i remove an object from the ArrayList while iterating without getting an “Concurrent Modification Error”

前端 未结 0 375
孤独总比滥情好
孤独总比滥情好 2021-01-04 12:28

In my project of creating contacts and managing them, when i remove an object from an Array List in a for-loop, a Concurrent Modification Exception is being thrown(as mentio

相关标签:
回答
  • 消灭零回复
提交回复
热议问题