[+] Show answers
What is the primary strength of the Singleton Pattern?
What is the key principle of the Observer Pattern?
Which pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable?Strategy PatternObserver PatternDecorator PatternFactory Pattern
In the context of Decorator Pattern, what is 'Component'?
What does the Factory Method Pattern provide?An interface for creating objectsCreate a single instance of a classDefine the skeleton of an algorithmDefine an object
Which pattern allows an object to alter its behavior when its internal state changes?State PatternObserver PatternDecorator PatternStrategy Pattern
In the book, what is the primary principle behind the Open Closed Principle?
Which pattern provides a way to access the elements of an aggregate object sequentially?Iterator PatternObserver PatternDecorator PatternComposite Pattern
Which pattern defines an interface for creating an object, but lets subclasses decide which class to instantiate?Factory Method PatternAbstract Factory PatternPrototype PatternBuilder Pattern
What is the driving force behind the Command Pattern?