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
How many characters is 2 bytes?
Can we override a variable in java?
Which arithmetic operations can result in the throwing of an arithmeticexception?
Why we used vector class?
Write a function for palindrome and factorial and explain?
What is number data type?
Does string is thread-safe in java?
What are data types in oop?
Why is static used?
explain local datetime api in java8?
What do the thread?class methods run() and start() do?
what is recursion in java
What is the difference between static binding and dynamic binding?
What is the use of string and stringbuffer?
Write a program to reverse array in place?