結果 : write a program to check whether a given string is palindrome or not in java