TCS interview question

Can you please write the palindrome code in java