//******************************************************************** // BaseballCard.java Author: >>>> YOUR NAME ! ! ! <<< // // Represents a BaseballCard - with a player, team, year, condition, and value. //******************************************************************** import java.text.NumberFormat; public class BaseballCard { private String player; private String team; private int year; private String condition; private double value; public BaseballCard(String player, String team, int year, String condition, double value) { this.player = player; this.team = team; this.year = year; this.condition = condition; this.value = value; } public String toString() { NumberFormat money = NumberFormat.getCurrencyInstance(); return player + ", " + team + " " + year + " " + condition + " " + money.format(value); } }