0
How to use scanner class and how to enter the variable for input
2 ответов
+ 8
import java.util.Scanner;
public class App{
public static void main(String[] args){
Scanner input = new Scanner(System.in);
System.out.println("Enter Word: ");
String userAnswer = input.nextLine();
}
}
0
hi