0
How to read the multiple lines of input data that the user enters
2 Answers
+ 1
https://code.sololearn.com/c7nAr3R9TDcq/?ref=app
check it out.
0
Depends on what you want to do with these lines and if they are written manually by the user. Scanner should cover most of your needs, also BufferedReader, which has its particular uses mostly related to files.