SOLID Design Principles
Though SRP is the first fundamental design principle, it has its own advantages and disadvantages.
We see some of the real-time software products following the SRP rule.
SRP states that each class should have a single, well-defined responsibility and that responsibility should be encapsulated within that class.
We design Twitter registration software with the help of the single responsibility principle that contains a notification service, database repository, account service, and execution class.
SOLID is an acronym for the first five Object-Oriented design (OOD) principles by Robert C. Martin.