S: Single Responsibility Principle

image/png
According to this principle, a class should have only one reason to change, that is, it should have only one task or responsibility.