+1 vote
in JAVA by
What is the purpose of the System class?

1 Answer

0 votes
by

The purpose of the System class is to provide access to system resources such as standard input and output. It cannot be instantiated. Facilities provided by System class are given below.

  • Standard input
  • Error output streams
  • Standard output
  • utility method to copy the portion of an array
  • utilities to load files and libraries

There are the three fields of Java System class, i.e., static printstream err, static inputstream in, and standard output stream.

...