Interface Segregation Principle (ISP) recommends that clients should NOT be forced to depend on interfaces they do not use. What is the PRIMARY design remedy?
-
A
Merge all interfaces into one comprehensive interface
-
B
Split large interfaces into smaller, role-specific ones
-
C
Replace interfaces with abstract classes
-
D
Use adapter patterns to wrap the large interface