eDreams ODIGEO Interview Question

Q. Battleship game code, was asked to find issues in one class, make one class immutable and fix 3 test cases.