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 |
Does java support multiple inheritance or not?
What is re-factoring in software?
Objects or references which of them gets garbage collected?
What is emant by API? is it related to java only or it is common for all OOPS supporting language?
What advantage do java's layout managers provide over traditional windowing systems?
What is difference between printf and scanf?
Explain a few methods of overloading best practices in java?
what is an object and how do you allocate memory to it?
What is hotjava?
What are the different types of data structures in java?
What is slash r?
How we can skip finally block of exception even if some exception occurs in the exception block in java?