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 are synchronized methods and synchronized statements? : Java thread

1000


What is static in java?

1101


What is the use of volatile in java?

1059


What are variable names?

982


What are the approaches that you will follow for making a program very efficient?

1079


How java is similar to c?

1054


Is void a wrapper class?

952


what is meant by abstract class?

1128


What are heap memory and stack memory and what are memory tables.

990


What is the purpose of return statement?

1064


What are three types of loops in java?

1138


Where to store local variables?

1107


What is main string [] args?

994


What is the purpose of file class?

1026


Why is it called boolean?

1009