Bridgenext Interview Question

SOLID principles, implement using a class,(full practical).