Single Responsibility Principle

Single Responsibility PrincipleThe Single Responsibility Principle (SRP) states that a class should have only one reason to change.