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

difference between byte stream class and character stream class?

0 Answers  


What are the differences between stringbuffer and stringbuilder?

0 Answers  


What is a layout manager and what are different types of layout managers available in java awt?

0 Answers  


What is substring of a string?

1 Answers  


Explain different types of thread priorities ?

0 Answers  


When would you use a static class?

0 Answers  


How do you compare arrays in java?

0 Answers  


What modifiers may be used with a top-level class?

0 Answers  


Can you call a constructor within a constructor?

7 Answers  


What's the purpose of static methods and static variables?

0 Answers  


wat is final...? wat is finally...? wat is finalize....? difference between " final and finally and finalize "...?

2 Answers  


How to convert String into primitive datatype.

6 Answers  


Categories