Question: JAVA CODE PP 8.7 Create a Card class that represents a playing card with a face value and a suit. Then create a class called
PP 8.7 Create a Card class that represents a playing card with a face value and a suit. Then create a class called Deckofcards that stores 52 objects of the card class. Include methods to shuffle the deck, deal a card, and report the number of cards left in the deck. The shuffle method should assume a full deck. Create a driver class with a main method that derals each card from a shuffled deck, printing each card as it is dealt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
