Pergunta de entrevista da empresa Virtusa

write a Java code in order to reverse a word