Skip to content

Commit

Permalink
Update design patterns.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Minjun1Kim authored Aug 23, 2023
1 parent f7d77cd commit 1fc794a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CSCB07/design patterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Creational design patterns focus on the object creation process. They provide me
The Singleton pattern ensures that a class has only one instance and provides a global point of access to that instance. It is useful in scenarios where a single instance is required to control actions throughout the system.

```java
public class Singleton {
public final class Singleton {
private static Singleton instance;

private Singleton() {
Expand Down

0 comments on commit 1fc794a

Please sign in to comment.