Difference System.exit (0) and System.exit (1) is

0-- normal end virtual machine

1-- abnormal end virtual machine

Published 69 original articles · won praise 16 · views 220 000 +

Guess you like

Origin blog.csdn.net/huanglei1234567890/article/details/9230723