The Interface Segregation Principle (ISP) dictates that clients should not be forced to depend upon:
AConcrete implementations of factory classes
BAbstract superclasses
CDatabase connection pools
DInterfaces that they do not use
Explanation
ISP advocates breaking large, monolithic interfaces into smaller, specific interfaces so that implementing classes only depend on methods they require.
Exam Relevance
- Topic: Software Architecture
- Subtopic: SOLID Principles

No Comments