Question: **Please write in Java!!** Here are the minimum requirements for your card game: You must have a Card class with the minimum below: Each card

 **Please write in Java!!** Here are the minimum requirements for your

**Please write in Java!!**

Here are the minimum requirements for your card game: You must have a Card class with the minimum below: Each card object must have a (String) suit, (String) rank, and a (int) point Value Must provide accessor methods for each of these class variables Must have an equals method to compare if the current card and another card are the same Must have a toString method that prints the current card displaying its attributes You must also have a Deck class with the following minimum: Import statements: import java.util.List; import java.util.ArrayList; Class variables that consist of an ArrayList of Cards and also a size (int) variable Constructor that takes in three arrays for each of the Card attributes and fills up the arraylist with the newly created Card objects Constructor should set the initial size of the deck and call a method to shuffle the deck Additional methods o isEmpty() to check to see if the deck is empty (no undealt cards) o size() method to access the number of undealt cards o shuffle() method to randomize the collection of cards

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!