Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Recursion in Void Method
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
randint




PostPosted: 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
Sponsor
sponsor
Tony




PostPosted: 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.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Panphobia




PostPosted: Tue Dec 11, 2012 5:13 pm   Post subject: RE:Recursion in Void Method

Yes you can Razz
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: