Create a class called card that represents a playing card a


Create a class called Card that represents a playing card. A Card has two fields: displayValue and suit. A card should be able to display itself.

Create a class called Deck that represents a Deck of 52 Cards. The Deck should be able to shuffle itself, display itself, and deal a card. Dealing a card should return the Card from the top of the deck. Dealing a card twice in a row should NOT return the same Card. That is to say, that dealing a Card changes the position of the top of the deck.

Test your Card and Deck classes thoroughly.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Create a class called card that represents a playing card a
Reference No:- TGS01385775

Expected delivery within 24 Hours