+ 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 ответов
+ 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
᠌᠌Code X
᠌᠌Code X - avatar