SRP

SOLID Principles - Single Responsibility Principle

The first of the SOLID Principles to cover is the letter S which is the Single Responsibility Principle (SRP). What is the Single Responsibility Principle (SRP)? The Single Responsibility Principle (SRP) states that “A class should have one, and only one, reason to change.