Mphasis interview question

Oops implemented in framework