← 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?
- A.In any code used by a company
- B.In code that has unit tests
- C.In a tiny throwaway script that will not grow or change
- 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 →