Pregunta de entrevista de One Network Enterprises

Write a code to in java to reverse a string