Search:

Type: Posts; User: Michael3

Search: Search took 0.16 seconds.

  1. Replies
    5
    Views
    864

    Re: Main method not found?

    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....
  2. Replies
    5
    Views
    864

    Re: Main method not found?

    Yes.



    package block;

    /**
    *
    * @author owner
    */
  3. Replies
    5
    Views
    864

    Main method not found?

    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;
  4. Replies
    8
    Views
    1,002

    Re: Need help please.

    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...
  5. Replies
    8
    Views
    1,002

    Re: Need help please.

    Okay, this is what my output looks like:


    run:
    | |
    -------

    |
    -------
  6. Replies
    8
    Views
    1,002

    Re: Need help please.

    Line 19 is the one that reads



    int gameboard[][]= new int[row][col];


    The error message I'm getting is
  7. Replies
    8
    Views
    1,002

    Need help please.

    So here's what I've got:




    public class TicTacToeGame {

    static int [][] gameboard;
    static final int EMPTY = 0;
    static final int NOUGHT = -1;
Results 1 to 7 of 7