Deloitte interview question

Java based questions and coding questions.they asked me to do palindrome