Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Why we do exception handling in java and how many types of exceptions are there?

1125


Describe what a thread-local variable is in java?

1012


What is a generic code?

1059


What are different exception types exceptions available in java ?

1003


What is a treemap in java?

1009


When should the method invokelater() be used?

1019


What is the difference between sop and work instruction?

927


What if I write static public void instead of public static void in java?

1089


Similarity and difference between static block and static method ?

919


Can we extend a class with private constructor?

1007


What are different types of expressions?

1118


What are autoboxing and unboxing? When does it occur?

951


Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.

1308


What are the two main uses of volatile in Java?

1062


What’s meant by anonymous class?

1081