結果 : string palindrome program in java without using reverse function