This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
What is the difference between System.exit(0) & System.exit(1)?
Thanks Gagan.
Jay Pawar
Ranch Hand
Joined: Aug 27, 2004
Posts: 411
posted
0
Originally posted by Gagan Deep: Mark,
Will number in System.exit(number) matter?
What is the difference between System.exit(0) & System.exit(1)?
Thanks Gagan.
The argument serves as a status code; by convention, a nonzero status code indicates abnormal termination.
HTH
Cheers,<br />Jay<br /> <br />(SCJP 1.4)<br />Heights of great men were not achieved in one day, they were toiling day and night while their companions slept.