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
Can we have more than one package statement in the source file?
Explain naming conventions for packages?
What is singleton class in java and how can we make a class singleton?
What is the access scope of a protected method?
What is a generic data type?
What is passing value java?
What is difference between filereader and bufferedreader?
When can you say a graph to be a tree?
What is the old name of java?
What an i/o filter?
What is the final blank variable?
What does a boolean method return?
how to write a server program and sending the mails to the server using smtp protocol please help me
Can we clone singleton object in java?
What about features of local inner class?