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 ? | 4 Yes | 3 No |
Post New Answer View All Answers
What is Enum in Java?
What is the dot operator?
Can we have a try block without catch block?
What is an i/o filter?
Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.
Can you create an object of an abstract class?
What is parsing a string?
How do you compare arrays in java?
What does %d do in java?
What is the collection interface?
Can a class declared as private be accessed outside it’s package?
Can we call a non-static method from inside a static method?
How does singleton class work?
What is the difference between a synchronized method and a synchronized block?
What differences exist between iterator and listiterator?