Lazy Coder
Showing posts with label
Singleton
.
Show all posts
Showing posts with label
Singleton
.
Show all posts
Monday, 15 June 2020
Singleton Design Pattern
In singleton design pattern, we restrict the instantiation of the object to only one. We make the constructor private and create a static method to control the instantiation
Older Posts
Home
Subscribe to:
Posts (Atom)