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 |
Can you make a constructor final in Java?
0 Answers SwanSoft Technologies,
When we give defination of interface method in the class why method must be public???
What is size_t?
What is increment in java?
What is finalize method?
What do you know about the garbage collector in java?
What is the program compilation process?
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
There can be a abstract class without abstract methods, but what is the need to declare a class abstract if it doesn't contain abstract methods?
What is the difference between overloading and overriding a function?
13 Answers eG Innovations, Infosys, TCS,
what is bytecode ?explain in detail and watz the difference between bytecode and machine code?
Does java runtime require a license?