|Introduction to OOP||Chapter 24: Design Patterns :||next||previous||audio||real||text|
Solution: Make many implementations of the same interface, and allow the client to select one and give it back to you.
Example: The layout managers in the AWT. Several different layout managers are implemented, and the designer selects and creates one.
Gives the designer flexibility, keeps the code size down.