(Card Shuffling and Dealing) Use the methods developed in Exercise to write an application that deals two five-card poker hands, evaluates each hand and determines which is better.
(Card Shuffling and Dealing) Modify the application of Fig. to deal a five-card poker hand. Then modify class DeckOfCards of Fig. to include methods that determine whether a hand contains
a) a pair
b) two pairs
c) three of a kind (e.g., three jacks)
d) four of a kind (e.g., four aces)
e) a flush (i.e., all five cards of the same suit)
f) a straight (i.e., five cards of consecutive face values)
g) a full house (i.e., two cards of one face value and three cards of another face value)
[Hint: Add methods getFace and getSuit to class Card of Fig.]
Fig. | Card shuffling and dealing.

Fig. | Deck Of Cards class represents a deck of playing cards.


Fig. | Card class represents a playing card.


We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.