Capgemini Interview Question

Oop design pattern solid principal