This week's book giveaways are in the Cloud and AI/ML forums. We're giving away four copies each of Cloud Native Patterns and Natural Language Processing and have the authors on-line! See this thread and this one for details.
Please always put code inside code tags; since you are new I shall do it for you and you will see how much better it looks You cannot get coloured text inside code tags; anyway the pink text is really difficult to read, sp I shall have to take all colours off.
Beware of @SuppressWarnings, even when Eclipse suggests it. It would be better to find the empty statement and get rid of it. If it isn't a contradiction in terms to get rid of nothing. As Henry says, where are those two identifiers declared?
posted 2 years ago
Are they methods of variables. One has () and the other doesn't have ().
"Cannot find symbol" means that you are using a name (of a method, or a variable) that the compiler doesn't know about.
For example, if a method call to the method createBoard(3, 3) causes this error, then that means that there is no createBoard method. Either you spelled the name of the method wrong, or you forgot to add that method to the class, or you are calling it the wrong way (is the method in another class?).
The compiler is complaining that it can't find the createBoard() and winOrTie() methods of the TicTacToeGames class. If those methods don't exist, that is the reason for the compiler error. You need to implement those methods. Or don't call those non-existent methods.
Your formatting of your program is awful. This is not just annoying, but in fact, a bug -- even if your code executes correctly. In Netbeans just press Ctrl-Alt-F (for Windows, at least) and follow the Style guide.
All things are lawful, but not all things are profitable.
Dan Broadwater wrote:I am not sure of what you are asking.
If you are not sure of what our questions mean, then maybe you should go a step back and make sure you understand the basics of programming in Java before attempting to write a longer and more complicated program.
The Oracle Java Tutorials are a good place to learn the basics. Make sure you how understand classes, variables and methods work.