Frage im Vorstellungsgespräch bei One Network Enterprises

Write a code to in java to reverse a string