Reverse String

Q. Write a Java program to reverse a given string without using the built-in reverse function?