java.util.Scanner | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

java.util.Scanner

Is it possible to use a class like Scanner in the SoloLearn's compiling program? I tried to use it, but I can't write code with input from the phone keyboard. Maybe the Scanner class can be use only for input from PC keyboard.

19th Feb 2017, 7:56 PM
MarcellaWoW
2 Answers
+ 5
You can have a look at https://code.sololearn.com/cAfnLE0W37f4/?ref=app I used Scanner in the readInput() method. Works here... Does it work on your device?
19th Feb 2017, 8:04 PM
Tashi N
Tashi N - avatar
0
ok. your code works well in my device. Maybe I made some errors in my code. I am just a newbie. thanks you Tashi for you useful code. thank you very much
19th Feb 2017, 9:12 PM
MarcellaWoW