Java For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming

Self-Test Questions

1. 

Why is a software design pattern considered to be a form of knowledge reuse?

2. 

What is the purpose of the Singleton pattern?

3. 

What is the purpose of the Factory pattern?

4. 

What is one potential benefit to using the Dynamic Factory pattern?

5. 

How can application behavior can be dynamically modified using the Dynamic Factory pattern?

6. 

What is the purpose of the Model-View-Controller (MVC) pattern?

7. 

What’s the purpose of the Model component of the MVC pattern?

8. 

What’s the purpose of the View component of the MVC pattern?

9. 

What’s the purpose of the Controller pattern of the MVC pattern?

10. 

Why is it desirable to deny knowledge of the View from the Model and vice versa?

11. 

What’s the purpose of the Command pattern?

Категории