結果 : given string is palindrome or not in java program