ConnectWise Interview Question

how to create tic-tac-toe game in Java and one 2-D array question for coding, code snippets