Capgemini Interview Question

SOLID principles basic java concepts