Paul
Paul
http://www.oodesign.com/abstract-factory-pattern.html
- scroll down to the "look and feel" example and you'll see a more general version of the example on the Wikipedia page you linked to in your message. This more general version is similar to the example we saw in class with the ingredient factory for the pizza store.
Paul
You've got the right idea but It's the concrete factories that have a dependency on the concrete products, not the other way around. There's nothing in these examples to suggest that there should be an association from the concrete factories to the concrete products.
Paul