What are the advantages of factory method?

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.

Sizin İçin Seçtik  What is flutter factory?

Leave a Reply

Your email address will not be published. Required fields are marked *