Game - { description = newDescription; } public String...

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

View Full Document Right Arrow Icon
package homeWork6; p public class Game { private String description; public Game() { description = ""; } public String getDescription() { return description; } public void setDescription(String newDescription)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: { description = newDescription; } public String toString() { return("description: " +description); } }...
View Full Document

This note was uploaded on 09/10/2009 for the course CS 102 taught by Professor Kanipiakins during the Spring '09 term at University of Maryland Baltimore.

Ask a homework question - tutors are online