(Solved) : Far M Getting Error Case 3 Systemprintln Enter Rank Card Want Removed Cardsremove Systemp Q44156881 . . .

This is what I have so far.
I’m getting an error on the …
case 3: System.out.println(“Enter therank of the card you want removed”);
cards.remove();
System.out.println();
break;
————————————–
package PlayingCards;
import java.util.Scanner;
public class Driver
{
public static void main(String[] args)
{
Scanner sc = newScanner(System.in);
boolean done = false;
int menuInput;
DeckOfCards cards = new DeckOfCards();
do
{
System.out.println(“Enter the numberof one of the choices below:”);
System.out.println(“1: Shuffle TheDeck.”);
System.out.println(“2: Print The CardsRemaining In The Deck.”);
System.out.println(“3: Remove All OfThe Cards Of A Specific Rank. “);
System.out.println(“4: Quit”);
menuInput = sc.nextInt();
sc.nextLine();
switch (menuInput)
{
case 1: System.out.println(“Shuffledthe Deck”);
cards.shuffle();
break;
case 2: System.out.println(“Printingall cards left in the deck”);
cards.print();
break;
case 3: System.out.println(“Enter therank of the card you want removed”);
cards.remove();
System.out.println();
break;
case 4: done = true;
System.out.println(“Goodbye.”);
break;
default: System.out.println(“Incorrectentry, please try again.”);
}
}
while (!done);
}
}
A Driver class that does the following: a. Creates a new deck of cards (unshuffled). b. Displays a menu of choices as follows: Enter the number of one of the following choices. 1. Shuffle the deck. 2. Print the cards remaining in the deck. 3. Remove all the cards of a specified rank. 4. Quit. c. Use a Scanner object to read the input. d. Use a switch statement to execute the user’s choice. i. Use a Scanner object (if necessary) to read the required input. e. Use a loop to repeat until the user quits. Show transcribed image text A Driver class that does the following: a. Creates a new deck of cards (unshuffled). b. Displays a menu of choices as follows: Enter the number of one of the following choices. 1. Shuffle the deck. 2. Print the cards remaining in the deck. 3. Remove all the cards of a specified rank. 4. Quit. c. Use a Scanner object to read the input. d. Use a switch statement to execute the user’s choice. i. Use a Scanner object (if necessary) to read the required input. e. Use a loop to repeat until the user quits.
Expert Answer
Answer to This is what I have so far. I’m getting an error on the … case 3: System.out.println(“Enter the rank of the card you …
OR