Advantage of Factory Design Pattern Factory Method Pattern allows the sub-classes to choose the type of objects to create . It promotes the loose-coupling by eliminating the need to bind application-specific classes into the code.
Advantage of Factory Design Pattern Factory Method Pattern allows the sub-classes to choose the type of objects to create . It promotes the loose-coupling by eliminating the need to bind application-specific classes into the code.