Konstant Infosolutions interview question

Object oriented programming with example on paper.