Question & Answer: Page 3 33. A program called TicTacT oe has a no-args/empty constructor and an overloaded constructor that accepts the name of a player and a score. Assume TicTacToe…..

Please help me answer this java coding question. In java format. I have 45 minutes to anawer

Page 3 33. A program called TicTacT oe has a no-args/empty constructor and an overloaded constructor that accepts the name of a player and a score. Assume TicTacToe has already been coded. Code an application class called TestTicTacToe, instantiate two objects and send to each object the name of a player and the players score. (10 points)

Page 3 33. A program called TicTacT oe has a no-args/empty constructor and an overloaded constructor that accepts the name of a player and a score. Assume TicTacToe has already been coded. Code an application class called TestTicTacToe, instantiate two objects and send to each object the name of a player and the player’s score. (10 points)

Expert Answer

 

Assuming that the language used is java

Assuming that TicTacToe.java and TestTicTacToe.java are under same package

TestTicTacToe.java

class TestTicTacToe{

public static void main(String args[]){

TicTacToe toe1 = new TicTacToe(“Joseph”,5);

TicTacToe toe2 = new TicTacToe(“Lily”,4);

}

}

————————————————————————-

Still stressed from student homework?
Get quality assistance from academic writers!