You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/index.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,11 @@ created: 2025-02-07
7
7
**Design patterns** are typical solutions to commonly occurring problems in software design. They are like pre-made blueprints that you can customize to solve a recurring design problem in your code.
8
8
## Three Main Patterns
9
9
10
-
-**Creational patterns** provide object creation mechanisms that increase flexibility and reuse of existing code. #creational
10
+
-**Creational patterns** provide object creation mechanisms that increase flexibility and reuse of existing code. **Purpose**: How Objects are created. #creational
11
11
-**Structural patterns** explain how to assemble objects and classes into larger structures, while keeping these structures flexible and efficient. #structural
12
+
**Purpose:** Organize classes and objects to form bigger structures safely.
12
13
-**Behavioral patterns** take care of effective communication and the assignment of responsibilities between objects. #behavioral
14
+
**Purpose:** How objects communicate and behave with each other.
13
15
14
16
> [!Important] Prerequisite
15
17
>Must have knowledge of **OOPS (Object-Oriented Programming Principles)** and **Java**. The design patterns are primarily based on OOPS concepts. The code in this tutorial is mainly written in Java and related frameworks.
0 commit comments