.Code a recursive method to determine if a String is a palindrome.

public boolean recursivePalindrome( String pal )
{
// ***** Student writes the body of this method *****

// Using recursion, determine if a String representing
// a word or a sentence is a palindrome
// If it is, return true, otherwise return false

// We call the animate method inside the body of this method
// The call to animate is already coded below

animate( pal );

//
// Student code starts here
//

return true; // replace this dummy return statement

//
// End of student code - PA 1
//
}