+ 1
there is an another way to get user input?
except using Scanner method.
2 ответов
+ 3
depends in your enviroment. i‘m not quite sure about the sololearn playground, but i think not.
+ 1
you can use buffered reader class.
https://code.sololearn.com/c8IbU70FVPIb/?ref=app
for details see my code