+ 1
What is the role of system.in
hello, I don't understand what is system.in as I understand, system.in is a Standart input using InputStream but why do I need to use Scanner or BufferedReader etc ? thank you
3 ответов
0
When you do Java, you will regularly have those "Why Do I Have To Do This By Hand? What Else Could I Possibly Want?" moments.
0
I understand but in the other hand I don't understand what is exactly System.in is it an input or something else ?
0
It is an input stream, yes. And by default it's your console / command line.