Yes, that's the right output. It comes out correctly when I press Shift+F6. I was just wondering why it gives me the error message about not having a main method when I try to run it using only F6....
Type: Posts; User: Michael3
Yes, that's the right output. It comes out correctly when I press Shift+F6. I was just wondering why it gives me the error message about not having a main method when I try to run it using only F6....
Yes.
package block;
/**
*
* @author owner
*/
I copied this exactly from my book:
public class Block {
int a, b, c;
int volume;
Block(int i, int j, int k){
a=i;
Thanks for your help, Norm. I finally got it.
public class TicTacToeGame {
static int [][] gameboard;
static final int EMPTY = 0;
static final int NOUGHT = -1;
static...
Okay, this is what my output looks like:
run:
| |
-------
|
-------
Line 19 is the one that reads
int gameboard[][]= new int[row][col];
The error message I'm getting is
So here's what I've got:
public class TicTacToeGame {
static int [][] gameboard;
static final int EMPTY = 0;
static final int NOUGHT = -1;