Question: Please answer in Java!!! Using repl.it, write a class called Playing Card. A playing card has a suite (string) which will be either Clubs, Diamonds,

 Please answer in Java!!! Using repl.it, write a class called Playing

Please answer in Java!!!

Using repl.it, write a class called Playing Card. A playing card has a suite (string) which will be either Clubs, Diamonds, Hearts or Spades. And a value (string) which will be either A, 2, 3, 4, 5, 6, 7, 8, 9, 10, J, Q or K. Add a constructor which takes in a suite and value and sets them in the object. Override toString (Java) or ToString (C#) so it returns [value] of (suite). For example: A of Hearts" or "3 of Spades

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!