dimanche 12 février 2023

Abstract_factory UML diagram in Wikipedia incorrect?

Referring to the UML diagram depicted in https://en.wikipedia.org/wiki/Abstract_factory_pattern#/media/File:Abstract_factory_UML.svg, one could conclude that ConcreteFactory1 and ConcreteFactory2 are derived from AbstractFactory.

But AbstractFactory is an interface, therefore it must be 'implemented', not 'extended'.

What am I missing?

Aucun commentaire:

Enregistrer un commentaire