Answer Posted / ranganathkini
The Runtime(along with the System 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 ? | 10 Yes | 4 No |
Post New Answer View All Answers
Why do we override tostring method in java?
What is the class in java?
Explain creating threads by extending thread class ?
What is hashtable and explain features of hashtable?
Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
Mention the default values of all the elements of an array defined as an instance variable.
What is an object's lock and which object's have locks in java programming?
How can we avoid including a header more than once?
Explain about fail fast iterators in java?
How do I get the | symbol on my keyboard?
Explain about the select method with an example?
What is the numeric promotion?
Does java have extension methods?
Explain about instanceof operator in java?
What is JVM and is it platform independent?