Question: Design and implement a class called Card that represents a standard playing card. Each card has a suit and a face value. Create a program
Design and implement a class called Card that represents a standard playing card. Each card has a suit and a face value. Create a program that deals five random cards (with replacement). HINT: Use numbers to represent the suit and the face value and implement a toString method that returns a String corresponding to the given suit and face value numbers.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
