Need help please! will upvote!
student # 101047981


public abstract class Player{
protected Hand hand;
public Player(Hand hand){ this.hand = hand; }
/* play a card from the player’s hand */
/* returns null if they cannot play a card and the deck becomesempty */
/* do NOT return null unless you cannot play a card and the deck isempty */
public abstract Card play(Card top_of_discard_pile, Deckdeck);
public final int cardsLeft(){ return this.hand.numberOfCards();}
}
Show transcribed image text
Expert Answer
An answer will be send to you shortly. . . . .