Pregunta de entrevista de Deloitte

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