Write a function in Java to reverse a given string without using any built-in functions.

Posted Date: