title: Whats the best way to recursively reverse a string in Java?
body: <p>I have been messing around with recursion today. Often a programming technique that is not used enough.</p>
  
  <p>I set out to recursively reverse a string. Here's what I came up with:</p>
  
  <pre><code>//A method to reverse a string using recursion
      public String reverseString(String s){
          char c = s.charAt(s.length()-1);
          if(s.length() == 1) return Character.toString(c);   
  
          return c + reverseString(s.substring(0,s.length()-1));
      }
  </code></pre>
  
  <p>My question: is there a better way in Java?</p>