Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Java in General and the fly likes exit java statement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "exit java statement" Watch "exit java statement" New topic

exit java statement

Mike Shn
Ranch Hand

Joined: May 26, 2001
Posts: 149
I know that C++ uses the exit(0) and exit(-1) statement. Does Java uses something similar?
Thanks a lot
kim jungil

Joined: Sep 27, 2001
Posts: 27
Originally posted by Mike Shn:

Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
Amazing you got the same answer in this forum as the beginner forum
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: exit java statement