Singleton Design Pattern is one of the creational design pattern. it says there will be only one instance for whole application.
In this video we have explained everything about Singleton Design Pattern which are important for technical interview.
we have explained how can we create the singleton class then how can we break the singleton class using threads or using refection api or using serialization then finally we have explained best ways to design singleton class using enum.
GitHub: https://github.com/AlmightyTricks/design_pattern
0:00 - into
5:40 - Different ways to create singleton class
17:20 - Different ways to break the singleton class
18:30 - Break singleton class using thread
26:06 - Break singleton class using reflection
30:25 - Break singleton class using serialization
35:40 - Create singleton class using enum
Download
0 formats
No download links available.
Everything about Singleton Design Pattern In one video | Design Patterns | NatokHD