Answer the question
In order to leave comments, you need to log in
How to enter data in one line using BufferedReader?
Good afternoon! Please let me know if the following input is possible:
String string = (new BufferedReader(new InputStreamReader(System.in))).readLine()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question