Reading in from System.in – Java
You can use System.in to read from the standard input. It works just like entering it from a keyboard. The OS handles going from file to standard input.
You can use System.in to read from the standard input. It works just like entering it from a keyboard. The OS handles going from file to standard input.