Question

Which design pattern would be most appropriate to ensure that only one instance of a class exists and provides a global point of access to that instance? 

A Factory Pattern
B Singleton Pattern
C Observer Pattern
D Strategy Pattern
E Decorator Pattern
Practice Next

Relevant for Exams:

Hey! Ask a query