Capgemini interview question

SOLID principles basic java concepts