|
-
Aug 18th, 2003, 03:58 AM
#1
Thread Starter
Lively Member
how to get out of recursive methods?
okay:
public int foo() {
bar();
return something;
}
public void bar(){
bar();
...some base case to end the recursive method...
}
is there any way to end bar() (and all recursive bar()s that were called) without reaching the base case, and get back to foo()?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|