Advanced Search
Stay Signed In
Don't have an account yet?
Start a Free Trial
Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Head First Design Patterns
Sharpen your pencil
Based on our first implementation, which of the following apply? (Choose all that apply.)
A.
We are coding to concrete implementations, not interfaces.
B.
For every new display element we need to alter code.
C.
We have no way to add display elements at run time.
D.
The display elements don’t implement a common interface.
E.
We haven’t encapsulated what changes.
F.
We are violating encapsulation of the WeatherData class.
Design Principle Challenge
Design Principle
Identify the aspects of your application that vary and separate them from what stays the same.
__The thing that varies in the Observer Pattern_______
__is the state of the Subject and the number and_____
__types of Observers. With this pattern, you can______
You are currently reading a PREVIEW of this book.
Get instant access to over $1 million worth of books and videos.