結果 : java program to check if string is palindrome