What is a scanner class in Java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is a scanner class in Java?

15th Feb 2018, 11:30 AM
Amrutha M
2 Answers
+ 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
15th Feb 2018, 11:46 AM
Nitzan
Nitzan - avatar
+ 1
Scanner class in java is a predefined class in util package which is used to read the input
15th Feb 2018, 5:05 PM
DEVIREDDY . PAVITHRA
DEVIREDDY . PAVITHRA - avatar