Skip to main content
Code Review

Return to Answer

replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

The ranks, suits, and cards should all be immutable. I used enums for rank, suit, and card. sample code is here here. i used an abstract Cards class which held an array of cards and extended that to a deck class and a hand class.

The ranks, suits, and cards should all be immutable. I used enums for rank, suit, and card. sample code is here. i used an abstract Cards class which held an array of cards and extended that to a deck class and a hand class.

The ranks, suits, and cards should all be immutable. I used enums for rank, suit, and card. sample code is here. i used an abstract Cards class which held an array of cards and extended that to a deck class and a hand class.

added 237 characters in body
Source Link

The ranks, suits, and cards should all be immutable. I used enums for rank, suit, and card. sample code is here . i used an abstract Cards class which held an array of cards and extended that to a deck class and a hand class.

The ranks, suits, and cards should all be immutable. I used enums for rank, suit, and card.

The ranks, suits, and cards should all be immutable. I used enums for rank, suit, and card. sample code is here . i used an abstract Cards class which held an array of cards and extended that to a deck class and a hand class.

Source Link

The ranks, suits, and cards should all be immutable. I used enums for rank, suit, and card.

lang-java

AltStyle によって変換されたページ (->オリジナル) /