🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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:

  1. A.Liskov Substitution
  2. B.Interface Segregation
  3. C.Open/Closed
  4. 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 →