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

How can you say java is object oriented?

1064


List some important characteristics on jre

1066


Is java owned by oracle?

1007


Differentiate between stringbuffer and string?

1023


What are the types of java languages?

973


What is generic class?

1090


How many bits are in a sentence?

1164


Can a private method be declared as static?

1018


What is definition and declaration?

1010


How many digits can a float hold?

1007


What are the benefits of immutable objects?

1003


Which is best ide for java?

1040


Which are different kinds of source code?

1103


Explain the concept of hashtables?

1129


Why we used break and continue statement in java?

1134