Question d’entretien chez Ocado Group

Write a program to tell if a string is palindrome. Review code for a Java class.