結果 : palindrome program in java using string reverse function