Thursday, December 13, 2018

Factory Method is Creational Pattern. It define an interface which will creating an object, but let subclasses decide which class to instantiate. Factory method pattern returns the instance of a class at run-time depends on the condition/login users/role of user and so on.

No comments: