Become Educator
Contact us
Sign in
S: Single Responsibility Principle
Home
object-oriented programming (OOP) & SOLID Principles
S: Single Responsibility Principle
According to this principle, a class should have only one reason to change, that is, it should have only one task or responsibility.