| |
|
Commented By -> Amit | I think, this can very well be achieved by using
AbstractFactory pattern. By providing Raw material as
wood, I should be able to get a WoodFactory, from this
woodfactory I can get a table, a chair, an arrow etc.
Similarly by extending this example a little bit, that
is by providing Raw material such as IRON. I should be able
to get various iron products from IronFactory.
|
| | |
Commented By -> cesar | case 2 of "javac" or "java" |
| |
|
|