Question: I need help with a java method that fills an array (hand) of length determined by the user with regular playing cards. Each card has
I need help with a java method that fills an array (hand) of length determined by the user with regular playing cards. Each card has a suit and a rank (face value). The cards in array ''hand'' need to be sorted by suit and and rank in ascending order (the order in which you put the suit does not matter). When each new Card is added, it is inserted in its proper place into the Hand, the Hand is to be maintained in order at all times so that there is never a need to sort the Hand.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
