Principles · Question 8 of 12

What does the S in SOLID stand for?

1 answer is correct. Easy

Show answer

Answer

  • B Single responsibility: a class has exactly one task

Explanation

The single responsibility principle demands that a class has only one reason to change. Separation of concerns is a related idea, but not the letter in SOLID.

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications