HCLTech Interview Question

Oops solid principal Design pattern types