2008 - } public void setopponent (player p) { opponent = p;...

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

This note was uploaded on 04/09/2008 for the course COMP SCI cps2231 taught by Professor Wittenburg during the Spring '08 term at Kean.

Ask a homework question - tutors are online