UGH1: The Card class

You have used Card class for a while. Since you know how to create a class for other to use now, please implement you own Card class and test it with classes you used before. Your Card class will look like:

public class Card {
  // put necessary fields here
  public Card (int v, int s) {
  /* 
     The value goes from 1-13 where 1 is an Ace and 13 is a King.  Suits 
     are counted in the following order: Clubs(1), Diamonds(2), Hearts (3), 
     Spades (4). 
  */

  } // constructor
  public int getValue() {
  // tells you the value of the Card  

  } // getValue
  public int getSuit() {
  // tells you the suit of the Card

  } // getSuit
  public String toString(){
  // returns a formatted string such as "Jack of Hearts"

  } //toString

}

UGH2: A complex class

Please create a class, Player, which will hold several cards.

After you created the Player class, please write a short program to test it.