Pergunta de entrevista da empresa Agile Actors

Create a simple method in Java to reverse a string and check if it is palindrome.