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

What is array class in java?

1022


What is the class in java?

972


What is the purpose of file class?

973


What is immutable data?

1002


Explain differences between collection api and stream api?

1100


Give the hierarchy of inputstream and outputstream classes.

1058


What is the difference between preemptive scheduling and time slicing?

1014


Can you write a java class that could be used both as an applet as well as an application?

916


What is a variable analysis?

1037


What is the synonym of procedure?

1034


Is there a jre for java 11?

1016


Why do we use return statement?

976


What is null in java?

924


How java enabled high performance?

1010


Implementations of set interface?

965