HCLTech interview question

Explain the solid principle and why we should use