Infosys interview question

Basic. OOPS and other technical stuff