Pergunta de entrevista da empresa FDM Group

Write a java program to reverse a string.