System.exit(0),System.exit(1),System.exit(-1)的不同 java 中的System.exit(0)表示正常退出;System.exit(1)表示异常退出;System.exit(-1)表示所有程序(方法,类等)停止,系统停止运行