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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Can this keyword be used to refer static members?

540


What is the biggest integer?

539


What is the significance of continue jump statement? Explain with an example.

733


What are the wrapped, classes?

588


how to convert Java project into Maven ?

576






What is instance example?

511


What does @param args mean in java?

542


What is passing by reference in java?

533


What is difference between path and classpath?

551


Why stringbuilder is not thread safe in java?

558


What is java basic concept?

519


What are exceptions

633


What is the different types of functions?

549


Define canvas?

560


What are the different http methods?

519