Can anyone tell what is scanner in java with example because I want to clarify my thoughts about it..... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone tell what is scanner in java with example because I want to clarify my thoughts about it.....

20th Sep 2022, 8:47 AM
iONE
iONE - avatar
1 Answer
+ 4
What's your thoughts ? Mention it. Scanner class provide methods to read input of text or bytes from a stream. Through Scanner object, you can access it's methods which supports taking user input.. Java Course here has details regarding it's methods.. Complete the lesson about "Taking user input".. edit: All methods is in this.. Read once... https://www.sololearn.com/learn/Java/2220/
20th Sep 2022, 8:52 AM
Jayakrishna 🇮🇳