TSS Consultancy interview question

Questions on OOPs