Java Question
Question: (Card Shuffling and Dealing) Modify the code sothat the card-dealing function deals a five-card poker hand.Include the following methods:
a) Determine whether the hand contains apair.
b) Determine whether the hand contains twopairs.
c) Determine whether the hand contains three of akind (e.g., three jacks).
d) Determine whether the hand contains four of akind (e.g., four aces).
e) Determine whether the hand contains a flush(i.e., all five cards of the same suit).
f) Determine whether the hand contains a straight(i.e., five cards of consecutive face values).
Please help me, I completely don’t understand the rulesof Poker and not sure where to start when modifying the
PayPal Gateway not configured
PayPal Gateway not configured