Oracle Interview Question

Write code on reverse the string in java.