What does System.exit(1); mean in java

  The exit method is used to interrupt the running Java virtual machine , and the integer are used to represent the status code. By convention, a non-zero status code indicates abnormal termination. A zero status code indicates a graceful termination of the entire program.

Guess you like

Origin blog.csdn.net/u012598200/article/details/22849639