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 cardswith given value, and compare them. However I have no idea what

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

to write in my compareto method, this is what i got. Java

And this is the output that i suppose to have

Se 8 And this is the output that i suppose to have

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!