String[] occupied
This defines an array of String. I think your instructor said that the args passed to the program into the main method's String[] args would be what you pass directly to the...
Type: Posts; User: Norm
String[] occupied
This defines an array of String. I think your instructor said that the args passed to the program into the main method's String[] args would be what you pass directly to the...
A comment on your code - Don't use the same name for different objects:
public class Board
int Board[][] = new int [8][8];
Where is the occupied method?
Look at the discussion above about...
Sorry, I can't see the text of the error message from here so I can't tell you what is wrong.
How do you locate a square and indicate that it is occupied?
In a 2 dim board, a location would be row and column. Did "he" say you are to pass the args passed to the program to the Board...
What is the definition of the occupied array? What does it contain and what is it used for by the Board class constructor.
The main method for a java program has the arguments: main(String[] args)
When you start the execution of the program, you put the arguments on the command line following the name of the class....
Do you have some specific questions yet about the assignment?