Nasdaq Interview Question

Java program to reverse a string.