Post on 25-May-2015
description
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.