+ 1
What is a scanner class in Java?
3 Antworten
+ 1
Java scanner class is used to read input.
The Java Scanner class breaks the input into tokens using a delimiter that is whitespace bydefault. It provides many methods to read and parse various primitive values.
If you want to read more https://www.javatpoint.com/Scanner-class
+ 1
Scanner class in java is a predefined class in util package which is used to read the input