結果 : string is palindrome or not in java code