Tag

SRP

1 views collected around this technical thread.

Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Oct 25, 2023 · Fundamentals

Understanding the Single Responsibility Principle (SRP) with UML Diagrams and Java Code Examples

This article explains the Single Responsibility Principle, its core idea, why it should be followed, its three main benefits, and provides UML class diagrams and Java code examples that demonstrate how to split responsibilities into dedicated classes for clearer, more maintainable software.

Code ExampleJavaSRP
0 likes · 9 min read
Understanding the Single Responsibility Principle (SRP) with UML Diagrams and Java Code Examples
Selected Java Interview Questions
Selected Java Interview Questions
May 11, 2020 · Fundamentals

Understanding the Six Object‑Oriented Design Principles (SOLID)

This article explains the six core object‑oriented design principles—Single Responsibility, Open/Closed, Liskov Substitution, Dependency Inversion, Interface Segregation, and Law of Demeter—detailing their definitions, benefits, and Java code examples to illustrate proper application.

JavaOCPObject-Oriented Design
0 likes · 12 min read
Understanding the Six Object‑Oriented Design Principles (SOLID)