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 REST with Spring (video course) this week in the Spring 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
I agree. Here's the link:
subject: exit java statement
It's not a secret anymore!