Tag Archives: Singleton Design Pattern

What is Design pattern?

By | June 18, 2025

A Design pattern is a generic and reusable solution to a common software design problem. In other words, it is a template that provides a proven way to solve a particular type of problem in software design and its development. Design patterns help us create more flexible, maintainable, and efficient code for software development. Types… Read More: What is Design pattern? »

How to break Singleton pattern in Java – 3 ways

By | June 18, 2025

The singleton design pattern restricts a class to having only one instance and provides a global point of access to that single instance. To learn more about the singleton pattern, please refer to Singleton design pattern and Singleton class in Java. In this tutorial, we are going to learn how we can break Singleton pattern in… Read More: How to break Singleton pattern in Java – 3 ways »

How to make Singleton design pattern in Java?

By | June 22, 2025

The singleton design pattern restricts a class to having only one single instance and provides a global point of access to that single instance. In other words, A singleton class must return the same instance no matter how many times an application requests it. i.e., the same single instance should be used by all the… Read More: How to make Singleton design pattern in Java? »