<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">class Card {
	// Constants to represent non-numeric ranks
	public static final int ACE = 1;
	public static final int JACK = 11;
	public static final int QUEEN = 12;
	public static final int KING = 13;

	// Constants to represent suits
	public static final int CLUB = 1;
	public static final int DIAMONDS = 2;
	public static final int HEARTS = 3;
	public static final int SPADES = 4;

	// Character constants that, when printed on a console window,
	// will yield the symbol for the suit
	public static final char CLUB_CHAR = '\u0005';
	public static final char DIAMOND_CHAR = '\u0004';
	public static final char HEART_CHAR = '\u0003';
	public static final char SPADE_CHAR = '\u0006';

	// Create a card with the specified rank and suit
	public Card(int r, int s) { }

	// Yield the suit of this card
	public int getSuit() { }

	// Yield the rank of this card
	public int getRank() { }

	// Yield this card as a String
	public String toString() { }

	// Default constructor, made private to keep users
	// of the class from instantiating undefined cards
	private Card() { }

	// The rank of the card: A, 2-10, J, Q, or K, represented
	// using the face value (if numeric) or a symbolic constant
	// defined in this class
	private int rank;

	// Suit of the card, represented using a symbolic constant
	// defined in this class
	private int suit;

}</pre></body></html>