Quiz Question 1 of 5
The "single responsibility principle" states what?
Choose the correct answer below:
-
A
Each class must have a single design for accessing properties.
-
B
Every method should have responsibility over a single task provided by the class, and that responsibility should be entirely contained by the method.
-
C
Every class should have responsibility over a single part of the functionality provided by the software, and that responsibility should be entirely contained by the class.
-
D
Each class should have only a single method that performs an action besides getting and setting properties.