Frage im Vorstellungsgespräch bei ServiceNow

In Java, reverse a string without using any helper functions.