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

when there is a need of jvm then how we can say that java is a platform independent language?

3 Answers  


Can constructor be synchronized?

0 Answers  


what is predefined function in java?

0 Answers  


Why is serialization required?

0 Answers  


why java does compile time polymorphism at run time ?

6 Answers   CTS, TCS,


Explain how to convert any java object into byte array.

0 Answers  


What is methods and methodology?

0 Answers  


what is the difference between AWT and SWING what is the advantage of using swing?

3 Answers  


How do you use find and replace?

0 Answers  


Is string pool garbage collected?

0 Answers  


Can a method be overloaded based on different return type but same argument type?

0 Answers  


What is the syntax and characteristics of a lambda expression? Explain

0 Answers  


Categories