Bank RBK interview question

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