HARMAN Interview Question

Open closed solid principle explanation