Give the details of the battleship game java.
Regarding the battleship game java, it looks to me that you're using exceptions to somehow perform flow control. Exceptions are not control flow mechanisms. public Position(Point from, Point to) { if (from.getX() > Constants.BOARD_SIZE || from.getX() < 0> || from.getY() > Constants.BOARD_SIZE || from.getY() < 0>…
Answered Oct 13, 2022 · 1.2K Views Read answer →