What is run-time class and system class? what is their
purpose?
Answer Posted / ranganathkini
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 ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a parameter example?
What is the difference between && and & in java?
Is it possible to use string in the switch case?
How to find the index of the largest number in an arraylist java?
Why is java not 100% pure oops?
How many ways can you break a singleton class in java?
What is anagram word?
What are "methods" and "fields"?
Explain enumeration in java?
What is the locale class in java programming?
What is a Transient Object?
How to sort array of 0 and 1 in java?
How many ways can we create singleton class?
What is a vararg?
If you do not want your class to be inherited by any other class. What would you do?