Thomson Reuters interview question

Write a method to reverse a string in Java.