Recursion in Void Method
Author |
Message |
randint
|
Posted: Tue Dec 11, 2012 5:03 pm Post subject: Recursion in Void Method |
|
|
Is it possible to do recursion in a void method in Java? |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Tony

|
Posted: Tue Dec 11, 2012 5:07 pm Post subject: RE:Recursion in Void Method |
|
|
Yes. A particular return type of a method shouldn't affect the ability to call that method. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
 |
Panphobia

|
Posted: Tue Dec 11, 2012 5:13 pm Post subject: RE:Recursion in Void Method |
|
|
Yes you can  |
|
|
|
|
 |
|
|