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

what is different between static and non static methods ,using example

2 Answers  


Can you access non static variable in static context?

0 Answers  


What is encapsulation in java?

0 Answers   IBS, NIIT,


Where is const variable stored?

0 Answers  


Are true and false keywords?

0 Answers  


Why can't we make jsp as a controller and action servlet in struts?

8 Answers   TCS, Wipro,


State the main difference between c++ and java?

0 Answers  


What is a numeric digit?

0 Answers  


What is actual difference between statement,prepared statement and callable statement and when we have to use it? pls post a answer with code and clear explanation. thanks

2 Answers  


'A class is a template for an object' explain this statement.

0 Answers   Akamai Technologies,


Write a program to print count of empty strings in java 8?

0 Answers  


In a container there are 5 components. I want to display the all the components names, how will you do that one?

0 Answers  


Categories