Anonymous Interview Question

Palindrome i have to do using java