How can I return a status code to the system from my program's main method?

John Mitchell

Use the java.lang.Runtime.exit() or java.lang.System.exit() methods to specify the system status value you want to return.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.