結果 : palindrome in java using reverse method