Hello all,
I'm putting together a relatively simple program in Java. One of the things I'm trying to do in it is using an if/else statement to listen for a certain string of text. Once that string appears, I want to stop the program. Is there some sort of exit() or quit() method I can implement here? Strangely enough, I can't seem to find one.
Thanks,
Jisoo22
I'm putting together a relatively simple program in Java. One of the things I'm trying to do in it is using an if/else statement to listen for a certain string of text. Once that string appears, I want to stop the program. Is there some sort of exit() or quit() method I can implement here? Strangely enough, I can't seem to find one.
Thanks,
Jisoo22