Error level as a Java Application fails

jabber (jabber)
You are so careful... This means you can teach yourself.

System.exit(0) means that application ends normally.

System.exit(1) means that application ends
becaue of error.

Java appication is just one process on your machine. Your system may monitor and catch the status of your Java application. In Unix system, there are various error levels...
1, 2, 3,,.. The system can judge what happened with your application by catching these number.

However, if we just do small exercises, these numbers do not matter because we do not catch them.
2000-11-26 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: A Java question for fun

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论