Above statement shows the way to show the output to the user.
System class is one of the core class that provides various useful class fields and methods. It cannot be instantiated. This class also provides facilities regarding standard output, standard input and standard errors. The ‘System’ is a final class of the java.lang package.
The object of the standard output stream, i.e. PrintStream. It is a static member field of System class. This stream is already open and available for accepting the output data. This output stream mainly corresponds to displaying the output or another output destination that is specified by the host or a user.
It is the method of the object ‘out’ that prints the argument passed to the standard console followed by a newline. There are multiple overloaded versions of this method that takes different type of arguments.