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 happens if an exception is throws from an object's constructor?
What is the function of http?
os is developed in c no java is more secured then c na why dont the os developed is developed using java
If an object is garbage collected, can it become reachable again?
How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?
What is the difference between java and .Net?
what is ennumaration?
How to make a write-only class in java?
What is connection class in java?
What is formatted output in java?
Can we override data members in java?
INTERVIEW QUESTION FOR ANDROID