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.
What does System.exit(1); mean in java
Guess you like
Origin blog.csdn.net/u012598200/article/details/22849639
Recommended
Ranking