Quiz on the SOLID Principles

Test your understanding of the SOLID principles.

1

(Select all that apply.) Which statements about the Single Responsibility Principle (SRP) are correct?

A)

A software component must have only one responsibility.

B)

A class must only have one responsibility.

C)

A function must only have one responsibility.

D)

A class method should only have one responsibility.

Question 1 of 50 attempted

Get hands-on with 1400+ tech skills courses.