Search:

Type: Posts; User: GregBrannon

Search: Search took 0.10 seconds.

  1. Replies
    3
    Views
    1,113

    Re: Calling a toss dice method

    Something like:
    public static void main (String[] args)
    {
    // define sum, . . .

    // . . . and then call the method:
    tossDice( sum );
    }
  2. Replies
    3
    Views
    1,113

    Re: Calling a toss dice method

    You call rollDice() just fine in the tossDice() method. I don't understand what you're asking about calling rollDice() in or from the main() method. Why would you? Have you written rollDice()? ...
Results 1 to 2 of 2