Oracle interview question

Write code on reverse the string in java.