Boats Group Interview Question

Reverse String in Java.