If you can't read please download the document
Upload
francesco-ierna
View
1.245
Download
3
Embed Size (px)
DESCRIPTION
Refers:Head First Design Patterns
Citation preview
2.
3. If we want to add contrete classes we must re-open the code -> not closed for modification Solution:
4. Encaps object creation(Factory) 5.
6.
7.
8.
9. Ex:PizzaStore p = new NewYorkStore(); 10. p.createPizza(jjjj); 11.
12.
13.