
- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is the purpose of System class in Java?
System class belongs to the package java.lang. It cannot be instantiated.
A System class provides −
- standard output.
- error output streams.
- standard input and access to externally defined properties and environment variables.
- A utility method for quickly copying a portion of an array.
- a means of loading files and libraries.
Following are the fields for java.lang.System class −
- static PrintStream err − This is the "standard" error output stream.
- static InputStream in − This is the "standard" input stream.
- static PrintStream out − This is the "standard" output stream.
- Related Questions & Answers
- What is the purpose of Runtime class in Java?
- What is the purpose of Process class in Java?
- What is the purpose of System Programs?
- What is the purpose of System Calls?
- What is the purpose of Database Management System?
- What is the purpose of the flush() method of the BufferedWriter class in java?
- What is the purpose of the StringBuilder class in C#?
- What is the purpose of interfaces in java?
- What is the basic purpose of a Database Management system(DBMS)?
- What is the purpose of private constructor in Java?
- What is the purpose of a constructor in java?
- What is the purpose of a default constructor in Java?
- What is the purpose of using JLink in Java 9?
- What is the purpose of overriding a finalize() method in Java?
- What is the purpose of using a dumpStack() method in Java?
Advertisements