Can the Abstract Factory pattern be considered as a case of polymorphism?
Posted
by
rogcg
on Programmers
See other posts from Programmers
or by rogcg
Published on 2011-11-29T01:01:32Z
Indexed on
2011/11/29
2:07 UTC
Read the original article
Hit count: 243
I was looking for a pattern/solution that allows me call a method as a runtime exception in a group of different methods without using Reflection. I've recently become aware of the Abstract Factory Pattern.
To me, it looks so much like polymorphism, and I thought it could be a case of polymorphism but without the super class WidgetFactory
, as you can see in the example of the link above. Am I correct in this assumption?
© Programmers or respective owner