Pergunta de entrevista da empresa UST

To write a Java program on reversing a string.