Some considerations:
all these hands contain a pair:
four of a kind
full house
three of a kind
two pair
one pair
One approach would be to start at the top of that list and work down,...
Type: Posts; User: Norm
Some considerations:
all these hands contain a pair:
four of a kind
full house
three of a kind
two pair
one pair
One approach would be to start at the top of that list and work down,...
Change the Card class's constructor to take int values instead of Strings. The int values will be easier to work with.
What is "question a"?
The compiler can not find definitions for the variables: face and suit that are in scope where they are being used. Where are those variable defined?
Where is the dealCard() method defined that...
Please copy the full text of the error messages and pasted them here.
if(myDeckOfCards.dealCard(face + " of " + suit).equals("Duece of Hearts"))
That is really an ugly way to compare two cards....