結果 : palindrome program in java without using scanner