🎙 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 1 of 10

Which principle says "a class should have only one reason to change"?

Which principle says "a class should have only one reason to change"?

  1. A.Single Responsibility
  2. B.Open/Closed
  3. C.Liskov Substitution
  4. D.Dependency Inversion
Answer & explanation

Correct answer: Single Responsibility

One class, one responsibility, one reason to change.

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 →