In c ++, I used the exit (0) function; to exit the program. Is there any equivalent on java?
System.exit(0)
http://docs.oracle.com/javase/7/docs/api/java/lang/System.html
System.exit(0) or return in the main thread.
return
Source: https://ru.stackoverflow.com/questions/236762/More articles:Creating modal windows in the Google Chrome JavaScript extension without jQueryHow to make the text underlined on the button?How to take parameters in python scriptHow to align the height of 3 diva?How to transfer ajax in addition to all fields in the form?Indentation between paragraphsWhy is the div not output?Processing xml (brute force and delete)Java multilanguage commentsThe task to describe the class “student group”All Articles