π Explore the power of Object-Oriented Design with 20+ hands-on Java implementations of the most essential Design Patterns.
Sharpen your system design skills, prepare for LLD interviews, and become a better architect.
A curated collection of Java implementations of GOF (Gang of Four) design patterns, each with:
- πΉ Simple and modular code
- πΉ Real-world use-case analogy
- πΉ Clean architecture separation
- β Abstract Factory
- β Factory Method
- β Builder
- β Singleton
- β Prototype
- β Adapter
- β Decorator
- β Proxy
- β Composite
- β Bridge
- β Observer
- β Strategy
- β Command
- β Iterator
- β Chain of Responsibility
- β Template Method
Design-Patterns-main/
βββ src/
βββ AbstractFactory/
βββ Adapter/
βββ Builder/
βββ Decorator/
βββ ...
Each folder contains:
- π§ͺ Pattern Classes
- π§βπ»
Client.javawith a demo scenario
Visual source: Refactoring.Guru
- Java JDK 8 or higher
- Any Java IDE (Eclipse, IntelliJ, VS Code)
cd src/Builder
javac *.java
java Clientβ
LLD Interviews
β
System Design Practice
β
Java Architecture Skills
β
Portfolio Enhancement
Aman Singh
π LinkedIn
π« [email protected]
If you like this project, consider giving it a β star on GitHub and share it with your peers!


