Glossary: Java Beyond the Basics
Exit code
Also written: System.exit
The number a program returns when it ends: 0 means success and anything else means trouble. Scripts read it, and System.exit(2) sets it.
Glossary: Java Beyond the Basics
Also written: System.exit
The number a program returns when it ends: 0 means success and anything else means trouble. Scripts read it, and System.exit(2) sets it.