what does "System.exit()" mean?
Printable View
what does "System.exit()" mean?
I don't know what that means... as I wrote, I'm a beginner...
It stops your currently running program.
yeah, so lets say you got an application with a button.
And if you press the button "System.exit();" will be called, that means that your application will end(terminate) if you press the button
Yep, if there is a particular point of the program where you would want to programmatically terminate the program, you would code: