Pergunta de entrevista da empresa One Network Enterprises

Write a code to in java to reverse a string