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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!