Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

return from void functions

807601Apr 16 2008 — edited Apr 16 2008
I have a small question. Is it good practice to write a return statement at the end of a void function? Does it do something beneficial like freeing memory, or it doesn't matter at all? Thank you.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 14 2008
Added on Apr 16 2008
14 comments
323 views