What is the difference between exit(o) and exit(1) in Java?

Questions by sreekanth_17_5

Showing Answers 1 - 3 of 3 Answers

ravi_1229

  • Mar 24th, 2008
 

The number is only the status code for the termination of the JVM. It does not effect the actual command. By convention 0 means a normal exit, any other number is an abnormal termination.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions