Today we looked at the Strategy pattern. There are many other patterns that developers have come up with that we can also use.
Choose one or more of the following patterns to investigate:
- Factory
- State
- Command
- Decorator
- Facade
- Observer
- Chain of Responsibility
Create an example and write an explanation of it in your own words.
You can find good examples here: http://www.tutorialspoint.com/design_pattern/