0
How to using scanner in java
3 ответов
0
Just write "import java.util.Scanner;" at the top of your codes
0
import java.util.Scanner;
class inputScanner {
public static void main(String[ ] args) {
Scanner inputs = new Scanner(System.in);
System.out.println(inputs.nextLine());
}
}
0
ty