Infosys interview question

Basic questions about OOP and data structure