Look at the tutorial on how to define and use methods:
Defining Methods (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
Passing Information to a Method or a Constructor...
Type: Posts; User: Norm
Look at the tutorial on how to define and use methods:
Defining Methods (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
Passing Information to a Method or a Constructor...
Is that a method definition or a call to a method?
You don't code the variable type in a method call:
markTheBoard(m, pos);
That error usually happens when the definition for the previous...
If that is the command prompt console on windows:
To copy the contents of the command prompt window:
Click on Icon in upper left corner
Select Edit
Select 'Select All' - The selection will show...
Where are the error messages displayed? If in an IDE there is usually a "COPY" option for the window.
Please edit your post and wrap your code with code tags:
YOUR CODE HERE
to get...
That's a nice summary of the errors. If you want any help fixing them you will need to post the full text of the error messages.
Please copy full text of the compiler's error message and paste it...
Makes for ugly, repetitive code. Arrays and loops make for shorter less error prone code. What is your instructor trying to teach with this assignment?
Please copy the full text of the error...
That sounds like a step towards using assembly language instead of java. WHY?