Hexaware Technologies Interview Question

Single Inheritance and reverse a number