+ 1
How to input in console window in java in Sololearn
I can't input data in the console window while working with menu based program in java in Sololearn
3 Answers
0
only Scanner input is supported on SL instead interactive input,
put all characters at beginning into SL window after start program, separate it with space or with enter (for new line).
With more multiply input you can test it:
var sc = Scanner("12 34 56 name txt 78");
+ 1
Yes Sololearn takes input at first all together but can't take input during execution ,that is, in console window