class ReverseString { String reverse(String inputString) { return new StringBuffer(inputString).reverse().toString(); } }