ESOP Direct Interview Question

Write a Java programm to reverse the string