mardi 9 juin 2015

Should I used the Factory Method pattern?

I am developing an application that uses a combo box to select a version number. Depending on this selection a different subclass is to be instantiated and a method defined in the super class is to be called. I am having trouble deciding which pattern to use. Perhaps the Factory Method pattern? Any help would be much appreciated.

Aucun commentaire:

Enregistrer un commentaire