Code problem2 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Code problem2

sololearn doesn't support java scanner as well, what should I do when I design some code require user input

10th Apr 2018, 12:09 AM
kintung luna
kintung luna - avatar
2 Answers
+ 4
Scanner is fully supported. The problem is how SoloLearn Playground works. Before your program is executed, the application asks you for ALL of your input in a single prompt. Once you confirm it, the data and your program get run on a remote server, where all of the output is held. If your program tries to use too much time, the server stops it. After your program is finished, the output is sent back to the application for display. It is also possible the application times out before getting all of your output requiring you to rerun it.
10th Apr 2018, 12:43 AM
John Wells
John Wells - avatar
+ 3
I've seen several codes using the scanner class here https://www.sololearn.com/learn/Java/2220/
10th Apr 2018, 12:25 AM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar