Specify, design, and implement a collection class that can hold up to five playing cards. Call the

Question:

Specify, design, and implement a collection class that can hold up to five playing cards. Call the class PokerHand, and include a methodmweitthhoad boolean return value to allow you to compare two poker hands. For two hands x and y, the relation x.beats(y) means that x is a better hand than y. If you do not play in a weekly poker game yourself, you may need to consult a card rule book for the rules on the ranking of poker hands.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: