HCLTech interview question

Oops solid principal Design pattern types