我用list循环遍历,用来删除符合条件的元素,为什么报错~
大侠们,指点一下~
收起
[code="java"]不用list的remove 用iterator的remove,用list的remove下标会变,下标越界可能出现[/code]
报告相同问题?