DISH interview question

Design Object oriented structure for a given sample problem. Reverse a string.