Oracle interview question

Tic tac toe class design