Capgemini interview question

OOP's , Functional