Below is my existing architecture of classes. I am looking for a suitable design patter so that I may eliminate duplication of methods in classes.
So far I have been able to design it like this, but still some methods are common in three classes and one is common abstract method (i.e getData() ) which is in declared in BaseClass and implemented in Child classed are there which I have not able to manage :
Aucun commentaire:
Enregistrer un commentaire