結果 : palindrome using reverse function in java