Urbanpro Interview Question

Reverse a string in java.