You down with OOP? Yeah you know me!
You down with OOP? Yeah you know me!
You down with OOP? Yeah you know me!
You down with OOP? Yeah you know me!
Originally posted by Monk Fox:
that should answer your question...
Originally posted by Layne Lund:
I think one thing that is difficult about understanding recursion is that you have to write a function that is defined using itself. In otherwords, you have to assume that the function you are writing already works! I think the best way to help with this is to understand exactly what the function is supposed to do. In this case it seems clear, the function takes a String as a parameter and returns the String with all the characters in reversed order.
Layne
Tony Morris
Java Q&A (FAQ, Trivia)