Tide interview question

OOPs Solid princiles Spring Boot