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 player’s score. (10 points)
Expert Answer
Don't use plagiarized sources. Get Your Custom Essay on
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…..
GET AN ESSAY WRITTEN FOR YOU FROM AS LOW AS $13/PAGE
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);
}
}
————————————————————————-