Pregunta de entrevista de Bank RBK

Implement a method that checks wether a word is a palindrome using Java