What is the purpose of the System class in Java?

System class has useful fields, such as static members, that are related to the environment. This class is provided with standard streams like input, output and error.

These streams can be used to access the properties and environment variables that are externally defined.

Suggest An Answer

No suggestions avaliable!

Related Interview Questions