Design Patterns I
Reading
Sommerville, Chapter 7, Section 7.2
Tutorialspoints.com’s Design Patterns Tutorial
- Overview
- Abstract Factory Pattern
- Builder Pattern
- Factory Pattern
- Prototype Pattern
- Singleton Pattern
Objectives
- Know what a design pattern is, how they are expressed, and why they are useful
- Understand the purpose and use of creational design patterns: factory, singleton, builder, and prototype
- Understand how the creational design patterns are implemented and used in Java
Notes
Try to figure out how the provide Java code segments implementing the various patterns.