What is run-time class and system class? what is their
purpose?



What is run-time class and system class? what is their purpose?..

Answer / 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 ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Under what circumstances an object reference be cast to an interface reference?

3 Answers  


What do you mean by stack?

0 Answers   Accenture,


What are wrapper classes in java?

0 Answers  


What language is java written?

0 Answers  


What is the purpose of stub and skeleton?

0 Answers  






What are different types of inner classes ?

0 Answers  


Are strings immutable in java?

0 Answers  


What is the difference between throw and throws? What is the similarity between try and throw?

2 Answers  


What are inner classes or non static nested classes in java?

0 Answers  


when,where and how to use abstract class and interface

2 Answers  


What is adapter class?

12 Answers  


Explain constructors and types of constructors in java.

0 Answers  


Categories