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 the purpose of the runtime class?

1107


Explain about the security aspect of java?

1012


What is this keyword used for?

1180


Explain about main thread in java?

1146


What are the main uses of this keyword?

1120


What is assembly condition codes?

1039


What are the three types of design patterns?

1012


Is java still relevant?

1025


What is vector?

1124


List the interfaces which extends collection interface?

998


What is difference between string and new string?

1080


Implement a stack with push (), pop() and min() in O(1) time.

1160


Which category the java thread do fall in?

1047


Are arrays primitive data types?

1255


Can we write class inside a class in java?

1030