🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: SOLID in Java: all 10 questions

Quiz: SOLID in Java · Question 10 of 10

When is applying SOLID strictly NOT worth it?

When is applying SOLID strictly NOT worth it?

  1. A.In any code used by a company
  2. B.In code that has unit tests
  3. C.In a tiny throwaway script that will not grow or change
  4. D.In Java, because Java already enforces SOLID
Answer & explanation

Correct answer: In a tiny throwaway script that will not grow or change

SOLID pays off in code that keeps changing; for a 30-line one-off script it only adds files.

Can you get the rest right without peeking?

Take the timed Quiz: SOLID in Java quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →