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 playerclass , it shows me there is no default constructor available in

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!