java - What is purpose of System class? -
i looked through code , saw system in lot of places
system.out.println(); system.exit(); etc.
is main purpose of class provide system resources? system resources mean java-related resources here?
the java.lang.system class contains several useful utilities used operation. system class cannot instantiated.
facilities provided system:
standard output
error output streams
standard input , access externally defined properties , environment variables.
a utility copying particular portion of array.
used loading files , libraries.
standard fields of system class are:
static printstream err-- "standard" error output stream.static inputstream in-- "standard" input stream.static printstream out-- "standard" output stream.
Comments
Post a Comment