[Cs3] Questions
Mikhail Nesterenko
mikhail at cs.kent.edu
Wed Mar 23 16:28:47 EDT 2022
> Also for question 3, are abstract factories called abstract factories
> because the methods in the base class are left without implementation,
> while in a regular factory they have an implementation in the base class?
There is a single abstract factory that specifies the interface and
abstract product that abstract factory produces. Several concrete
factories that implement it the interface of the abstract factory and
produce concrete products.
This allows the client to handle collection of products (produced by
concrete factories) uniformly.
Thanks,
--
Mikhail
More information about the cs3
mailing list