What is purpose of System class

What is purpose of System class

The System class provided in java.lang.System package contains several useful class fields and methods and It cannot be instantiated. Below are facilities provided by the System class are:

  • Standard input, standard output, and error output streams
  • Access to externally defined properties and environment variables
  • Can be use loading files and libraries
  • A utility method for quickly copying a portion of an array

 

Check out all interview questions

Leave a Reply

Your email address will not be published. Required fields are marked *