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 |
What is thread synchronization in java?
What are the differences between string, stringbuffer and stringbuilder?
What is local class in java?
Tell us something about different types of casting?
What is a flag variable?
What is Mutex (Mutual Exclusion Object) ?
These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }
Write the algorithm to check the number non-leaf nodes in a tree.
What is the length of a string?
please write java program of instanceOf keyword implementation
What is unmodifiable collection in java?
How do you do exponents in java?