Cognizant Interview Question

Oops concept, arrays, modifiers, reverse a string program