Build your intuition. Click the correct answer from the options.
Which design pattern is used to ensure that a class has only one instance and provides a global point of access to it?\n\nA. Factory Method Design Pattern\nB. Singleton Design Pattern\nC. Decorator Design Pattern\nD. Adapter Design Pattern
Click the option that best answers the question.
- Factory Method Design Pattern
- Singleton Design Pattern
- Decorator Design Pattern
- Adapter Design Pattern