Question: I am trying to write a program that could build cards with given value, and compare them. However I have no idea what to write


I am trying to write a program that could build cards with given value, and compare them. However I have no idea what to write in my compareto method, this is what i got. Java Se 8

And this is the output that i suppose to have


Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
