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...
Type: Posts; User: javapenguin
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...
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";
}