FDM Group Interview Question

Write a java program to reverse a string.