lundi 28 mars 2016

Difference between Factory pattern and Inversion of control?

Factory pattern and Dependency Injection both are creational design patterns and in both the patterns we are delegating the responsibility of object creation to some seperate class. Then what is the exact difference between the two and what is the exact scenario where the implementation difference will be effective and markable ?

Aucun commentaire:

Enregistrer un commentaire