how would I reimplement this code to be recursive?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4367260/creating-a-recursive-method-for-palindrome-in-java">creating a recursive method for Palindrome In java</a>  </p>
</blockquote>



<p>This is my code that I have written. </p>

<pre><code>public boolean checkPalindrome(string word){

for(int i=0 ; i &lt; word.length()/2;i++)
{
  if(word.charAt(i) ! = word.charAt(word.length()-1-i))

      return false;
}

return true;
}
</code></pre>

<p>The purpose of this method to check if a given string is a palindrome.</p>
