Question 19
A developer is designing a software system for a marketplace. There are multiple delivery types: physical shipment, email delivery, and instant download.
Which of the following is a key advantage of applying the Interface Segregation Principle in this scenario?
Clients are forced to implement all delivery methods, ensuring consistency.
Each client implements only the methods relevant to its delivery type, avoiding meaningless implementations.
Interfaces are removed entirely, and all functionality is placed in one monolithic class.
It reduces the number of classes in the system.