You are viewing a single comment's thread. Return to all comments →
You must import static java.lang.System.in, and you must have to import with "static" , It tells JVM that to create this from proram start until program ends.
Also you can try if you wonder, you can not use any other variable name beside "in" on line written 'BufferedReader'
can u just explain in detail how would static java.lang.System.in help???
i mean what it actually does??