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
What are the basic concepts of OOPS in java?
What is the default value of the local variables?
How do you reverse a list?
What does regex mean?
What are the access modifiers in java?
how to deploy tomcatserver to weblogic server? write d following steps?
Do you know how to reverse string in java?
What do you mean by a JVM?
What is the difference between the size and capacity of a vector?
What is an interface in java? Explain
Can you override a final method?
What is the use of static class?
Difference between this() and super() ?
Write a program to print 15 random numbers using foreach of java 8?
What is the difference between variable & constant?