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
How do you sort arraylist in descending order?
What is a substitution variable?
What lambda means?
What are data structures in java?
Does java have a compiler?
What is classname class in java?
What is locale?
Are arrays passed by reference in java?
What is executor memory?
What do you mean by checked exceptions?
Is constructor inherited?
What are the changes in java.io in java 8 ?
How many bytes is double?
Explain the features of java?
What is a function easy definition?