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 -05:00

回到话题: A Java question for fun

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论