Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Tic Tac Toe game.....

807600Aug 30 2007 — edited Aug 30 2007
Hi all,

I want to design a simple tic tac toe game with the use of for loops.

Given is the following class:

public static java.lang.String whoWon(java.lang.String[] board)

I did not understand ,Only using a single string array (String[] board) can we design this game??

because we need to have rows and columns for this game?

Iam very confused.

Gita.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 27 2007
Added on Aug 30 2007
9 comments
181 views