iNeuron interview question

Abstract class, reverse a string