File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Oct 22, 2003
Nov 17, 2003 01:13:00
Can neone tell me how to exit from a function in
?break statement is not working...!!
Apart from return statement is there any other way?
Joined: Sep 22, 2003
Nov 17, 2003 01:53:00
usually 'return' is the 'right' way to exit a method in Java, throwing an exception is another.
Joined: Dec 10, 2001
Nov 17, 2003 03:57:00
What do you mean by
? Can you post an example, as best as you have so far, of what you're trying to do?
How To Ask Good Questions
JavaRanch FAQ Wiki
I agree. Here's the link:
subject: Break Statement
Can someone please explain the following code to me...
if() condition exit
Doubts about break
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015