Thomson Reuters Interview Question

Write a method to reverse a string in Java.