Capgemini interview question

OOP Concepts