Donate SIGN UP

Conditional Statement for stop!

Avatar Image
Rodge2 | 16:50 Sun 23rd Jan 2011 | Computers
2 Answers
I am using conditional statements within an instance method in Java. Can I use a command to get the program to stop in the event that a specific condition I have stated occurs?
Gravatar

Answers

1 to 2 of 2rss feed

Best Answer

No best answer has yet been selected by Rodge2. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
System.exit(0);
Question Author
Thank you.

1 to 2 of 2rss feed

Do you know the answer?

Conditional Statement for stop!

Answer Question >>

Related Questions

Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.