← Quiz: SOLID Principles: all 10 questions
Quiz: SOLID Principles · Question 5 of 10
A fat interface forcing classes to implement methods they don't need violates:
A fat interface forcing classes to implement methods they don't need violates:
- A.Liskov Substitution
- B.Interface Segregation
- C.Open/Closed
- D.Single Responsibility
Answer & explanation
Correct answer: Interface Segregation
Split it into smaller, focused interfaces.
Can you get the rest right without peeking?
Take the timed Quiz: SOLID Principles quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →