🛠️ Design Patterns
Blogs
Github
About Me
Search
Search
Dark mode
Light mode
Patterns
Strategy Pattern
Decorator Pattern
Observer Pattern
MENU
Blogs
Github
About Me
Patterns
Strategy Pattern
Design Patterns
Decorator Pattern
Observer Pattern
Home
❯
Pattern Blogs
Pattern Blogs
1 min read
Strategy Pattern
Definition
Real World Analogy - 1
Code in Java
Real World Analogy - 2
Real World Example
Design Principles
Design Patterns
What is Design Pattern ?
Three Main Patterns
Tightly Coupled and Loosely Coupled Classes
1. Tightly Coupled Classes
2. Loosely Coupled Classes
SOLID Principles
1. Single Responsibility Principle (SRP)
2. Open-Closed Principle (OCP)
3. Liskov Substitution Principle (LSP)
4. Interface Segregation Principle (ISP)
5. Dependency Inversion Principle (DIP)
Contents:
Decorator Pattern
Definition
Real World Analogy
Design
Coding Decorator Pattern
Complete Code In Java
Real World Example
Design Principles
Observer Pattern
Definition
Real World Analogy
Design
Code in Java
Real World Example
Design Principles