0
Hơw to create scanner for array string?
Help for my assignment
5 Respuestas
+ 1
You mean:
How to take user input into array of strings?
By using loops,
in same way of using scanner object for single string input.
Other way:
Take a complete string and split into array of string by space.
0
Maybe you have tried in SoloLearn and don't work. In the SoloLearn console you have to capture all the input one time. With this kind of code try in other IDE