I wanted to know how to stop the program from executing the remaining code when a particular if condition returns true.
code sample
if(qname == QueName) {
exit();
}
I tried using break. But Im getting an exception illegal use of break statement. Any help on this is much appreciated.