Capgemini interview question

Mostly about Object Oriented Programming