Constructors don’t have meaningful names, so they are always restricted to the standard naming convention imposed by the language. Static factory methods can have meaningful names, hence explicitly conveying what they do .19 May 2021
Read moreWhat 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.
Read more