SyntaxFix
Write A Post
Hire A Developer
Questions
The answer is System.exit(), but not a good thing to do as this aborts the program. Any cleaning up, destroy that you intend to do will not happen.