{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

2008 - public void setopponent(player p opponent = p public...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Lab3.class Board.class Player.class Player Char name; Player opponent; Constructor (constructor should initialize all data fields) public player (char mark) { name = mark;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: } public void setopponent (player p) { opponent = p; } public char getname() { return name; } public player getopponent() { return opponent; }...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online