title: Difference in System. exit(0) , System.exit(-1), System.exit(1 ) in Java
body: <p>I'd like to know the difference between the following in Java</p>
  
  <pre><code>System.exit(0);
  System.exit(-1);
  System.exit(1);
  </code></pre>
  
  <p>When do I have to use the above code appropriately?</p>