How do you import the scanner class?
import java.util.Scanner;
How do you create a new scanner class?
Scanner input = new Scanner(system.in);
Where input is the name of the class.
How do you use the scanner class you created?
int length;
length = input.nextInt();
Where input is the name of the scanner class.
How to let the user input a string?
String hello;
hello = input.nextLine();
Where input is the name of the scanner class.
How do you make the Scanner class read a character?
char initial;
initial = input.nextLine().charAt(0);
This statement is used to indicate that the case statement is finished.
break