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 the difference between System.exit() and
System.exit(1)?



what is the difference between System.exit() and System.exit(1)?..

Answer / balu

A non-zero exit status code, usually indicates abnormal termination. if n != 0, its up to the programmer to apply a meaning to the various n's.

From http://java.sun.com/j2se/1.4.2/docs/api/java/lang/System.html

Is This Answer Correct ?    12 Yes 2 No

Post New Answer

More Core Java Interview Questions

How do you create a method in java?

0 Answers  


What is basic syntax?

0 Answers  


Differences between jdk 1.4 and 1.5

6 Answers   SoftSol, TCS, Wipro,


why java does not support unsigned keyword?

1 Answers  


What is difference between static class and singleton pattern?

0 Answers  


Are private methods final?

0 Answers  


Diff between C++ and java?

9 Answers   TCS,


What is predicate in java?

0 Answers  


What is the protocol is used in type4 driver?

4 Answers   CMC,


Explain constructors and types of constructors in java.

0 Answers  


What access modifiers can be used for methods?

0 Answers  


What is an Exception ?

10 Answers  


Categories