Question: In Chapter 8, you created an application class named FullDeck that implemented a 52-element array that represented each card in a standard deck of playing

In Chapter 8, you created an application class named FullDeck that implemented a 52-element array that represented each card in a standard deck of playing cards. Now, create an enumeration that holds the four suits SPADES, HEARTS, DIAMONDS, and CLUBS. Save the enumeration in a file named Suit.java.Modify the Card class from Chapter 8 to use the enumeration, and save the class as Card2.java. Modify the FullDeck application to use the new Card class, and save the application as FullDeck2.java.

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!