How to write program using scanner method | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to write program using scanner method

21st Nov 2021, 4:23 PM
Aniket Saraf
3 Answers
+ 3
Aniket Saraf , if you need to know how it is working, please start learning java from the tutorial. here is a short description: https://www.sololearn.com/learn/Java/2220/?ref=app
21st Nov 2021, 7:32 PM
Lothar
Lothar - avatar
+ 2
if you mean in java so you have to create an object of the class and use any of the available methods found in the Scanner class documentation. You can read this for more information https://www.w3schools.com/java/java_user_input.asp
21st Nov 2021, 4:53 PM
Zein Khalil
+ 1
Aniket Saraf Scanner is not a method. Please read documentation properly.
21st Nov 2021, 5:44 PM
A͢J
A͢J - avatar