Computer Science Canada Recursion in Void Method |
| Author: | randint [ 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? |
|
| Author: | Tony [ 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. |
|
| Author: | Panphobia [ Tue Dec 11, 2012 5:13 pm ] |
| Post subject: | RE:Recursion in Void Method |
Yes you can |
|