There's nothing wrong using recursion, but you've got to do it properly :P
But yes, I would recommend not using recursion because these algorithms are generally harder for new programmers to write.
Type: Posts; User: helloworld922
There's nothing wrong using recursion, but you've got to do it properly :P
But yes, I would recommend not using recursion because these algorithms are generally harder for new programmers to write.
you're trying to call your reverseString method using the String class (well, technically not even this, but I won't go into the details). Instead, you should be calling with an actual string object....