Netflix Interview Question

Reversal of a String in Java.