HW08 Solution1

HW08 Solution1 - losses = newLosses } String getName() {...

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

View Full Document Right Arrow Icon
Sheet1 Page 1 public class Team { String name int wins int losses Team(String setName) { name = setName } void setStats(int newWins, int newLosses) { wins = newWins
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: losses = newLosses } String getName() { return name } int getWins() { return wins } int getLosses() { return losses } }...
View Full Document

This note was uploaded on 04/10/2008 for the course ENGR 131 taught by Professor Xiaowei during the Spring '07 term at Case Western.

Ask a homework question - tutors are online