Search:

Type: Posts; User: javapenguin

Search: Search took 0.14 seconds.

  1. Replies
    7
    Views
    1,212

    Re: New to Java Need help with Homework

    It's because you're using a different constructor.

    You're creating an object of BasketballGame that uses the non-default constructor. Only the default (the no param one) changes the game status...
  2. Replies
    7
    Views
    1,212

    Re: New to Java Need help with Homework

    Put code here

    Haven't looked at the code much yet, but am wondering, why is it

    while (winnersName.equals(firstTeamName) || winnersName.equals(secondTeamName))
    {
    gameStatus = "Game Over";

    }
Results 1 to 2 of 2