Lab 10 – Playing Cards


Design and implement a class called Card that represents a standard playing card. Each card has a suit and a face value. Create a second 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 deals each card from a shuffled deck, printing each card as it is dealt.