System.exit(int status)

1. This method is used to end the currently running Java virtual machine

2. System.exit(0); //0 means exit the program normally

3. System.exit(1); //Non-0 means exit the program abnormally

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325116916&siteId=291194637