What is run-time class and system class? what is their
purpose?
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 |
How to extract HashMap values?
What is thread pool? How can we create thread pool in java?
Describe what a thread-local variable is in java?
What happens if main method is not static?
How are the elements of a gridbaglayout organized?
What do you mean by ordered and sorted in collections in java?
Is java map thread safe?
Explain the difference between arraylist and linkedlist in java?
What do you mean by JVM?
How does remove work in java?
What are scalar data types?
what is the difference between Object Based Language and Object Oriented Language?