Infosys interview question

Concepts of oops Program pseudo code