What is System class and its purpose?
Answers were Sorted based on User's Feedback
Answer / ashokmail
System class is used to read the system properties.
by using system class you can read current running process,
current Runtime, time, and date.
| Is This Answer Correct ? | 11 Yes | 3 No |
The System (along with the Runtime class) provide system
level functionality to Java applications.
The facilities of these classes are not necessarily portable
across host operating system and may need to be recompiled
when porting.
Some of the facilities provided are:
1. Reading from the keyboard as input
2. Writing to console output
3. Interaction with JVM process for event notification, or
information such as free memory, etc
4. Reading/writing system properties/environment variables
5. executing other programs from within java apps
| Is This Answer Correct ? | 4 Yes | 3 No |
What is difference between compatible and incompatible changes in serialization?
What classes of exceptions may be caught by a catch clause in java programming?
Can we override private method?
What is a variable analysis?
Explain Global variables in Packages?
How to handle a web browser resize operation?
What technique is carried out to find out if a particular string is empty?
how many design pattern r there? and wht design pattern u use and why ?
If you are given the name of the function at run time how will you invoke the function?
What is the best way to findout the time/memory consuming process?
What is use of set in java?
What is gui programming?