Day | Pattern | Types | Implementataion |
---|---|---|---|
1 | Singleton Patterns | Eager Initialized Singleton | Link |
Static Block Singleton | Link | ||
Lazy Initialized Singleton | Link | ||
Thread safe Singleton | Link | ||
Bill Pugh Singleton | Link | ||
Enum Singleton | Link | ||
Serialized Singleton | Link | ||
2 | Prototype Pattern | ||
Credits :
- Java Design Patterns by Apress publications (Book)
- journaldev (Website)
- Stackoverflow (Query resolution)