/* Card.java - let's begin designing a Card class * At a minimum, we'll need the following: * attributes: denom, suit * operations: constructors, toString, getDenom, getSuit * [don't forget to close comment!] */ public class Card { private char denom; private char suit; // Constructors public Card() { denom = 'Q'; suit = 'd'; } public Card(Card c) { this.denom = c.denom; this.suit = c.suit; } public Card(char denom, char suit) { this.denom = denom; this.suit = suit; } public char getDenom() { return denom; } public char getSuit() { return suit; } public String toString() { return denom + " of " + suit; } }