who receive input through the keyboard
Answers
Answered by
0
Input from the keyboard
import java.util.Scanner; - imports the class Scanner from the library java.util.
Scanner scanner = new Scanner(System.in); - creates a new Scanner object, that is connected to standard input (the keyboard)
String inputString = scanner. nextLine();
Similar questions