import java.awt.Point; class Prize extends StationaryObject { int value; Prize(Point loc, int val) { super(loc); this.value = val; } public String toString() { return super.toString() + " with value " + this.value; } char getAppearance() { return '$'; } }