Question: in java se 8 ,when i try to extend the player class , it shows me there is no default constructor available in Player and


in java se 8 ,when i try to extend the player class , it shows me there is no default constructor available in "Player" and i can not super these two objects.
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 becomes empty do NOT return null unless you cannot play a card and the deck is empty public abstract Card play (Card top_of_discardpile, Deck deck) public final int cardsLeftO return this. hand. numberofCards 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
