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)?

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


Please Help Members By Posting Answers For Below Questions

Is null keyword in java?

886


What is the collections api?

989


Can we nested try statements in java?

1043


why Java does not support multiple inheritances?

1114


What is tostring () method?

951


What is runtime polymorphism or dynamic method dispatch?

970


What is printwriter in java?

902


What is meant by data hiding/encapsulation?

1044


why doesn't java run on all platforms?

978


Which is bigger float or double?

919


What is difference between classpath and path variables in java?

1133


Objects or references which of them gets garbage collected?

915


Can java cast null?

978


What are the two ways to create a thread?

949


Explain hashset and its features?

1079