SE450: Factory: Polymorphic Factory Class [29/32] Previous pageContentsNext page

This is a Polymorphic version of the Static Factory Class described erlier.

For example, an abstract factory is used to create GUI widgets appropriate for linux (on linux machine) or windows (on a windows machine).

Abstract Factories are almost always Singletons.

This is called Abstract Factory by GoF.

Previous pageContentsNext page