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 |
how can be object class inherited to all class in a program when java does not support multiple inheritance??
system.out.println(1 + 3);
Why do we need wrapper classes?
what is request dispatcher and how does it work?
How do you clear a list in java?
What are the basic concepts of OOPS in java?
0 Answers Axtria, ITC Indian Tobacco Company,
What is compareto () in java?
can abstract class have constructor how can you achive this ?
What method is used to specify a container's layout in java programming?
what is difference between prepare stetement and callable starement with example?
What is the difference between java applets and applications?
How do I convert a string to an int in java?