Implement PokerValue as specified in textbook page 417, problem 33(a).
Your implementation must include following:
1. At least one ADT type selected from textbook files such as Stack, Queue, Collection and List for storing the poker hand.
2. Use only CardDeck.java to hold deck of cards, and Card.java to represent each card. GUI is not required.
3. Default constructor to create a five-card poker hand from CardDeck.java. Make sure the poker hand is implemented with one of the textbook ADT as set forth above.
4. Overloaded constructor accepts an array of five cards to initialize one poker hand.
5. toString() method outputs in the same format as shown in SampleActualOutput.txt
6. You may add other methods as necessary.
7. Test your PokerValue.java with supplied PokerGame.java.
Submit PokerValue.java
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.