The purpose of the System class is to provide access to system resources. It contains accessibility to standard input, standard output, error output streams, current time in milliseconds, terminating the application, etc.
Well it depends upon you for what purpose do use system class.Say, System.in >> belongs to inputstream interface helps in inputting from the console.whereas, System.out and System.err is used to...