Answer the question
In order to leave comments, you need to log in
Java. How to fix ConcurrentModificationException in this code?
This code throws java.util.ConcurrentModificationException when creating a large number of threads. And in the 84th line, sometimes there is an output beyond the aisles of the array (-1). If it's not difficult, write what's wrong in the code...
https://github.com/Drunya2/BattleShip/blob/master/...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question