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 |
Under what circumstances an object reference be cast to an interface reference?
What do you mean by stack?
What are wrapper classes in java?
What language is java written?
What is the purpose of stub and skeleton?
What are different types of inner classes ?
Are strings immutable in java?
What is the difference between throw and throws? What is the similarity between try and throw?
What are inner classes or non static nested classes in java?
when,where and how to use abstract class and interface
What is adapter class?
Explain constructors and types of constructors in java.