Static Factory Methods

Static Factory Methods




Should we always make the factory methods static? While their convenience might suggest the answer is yes, there is one major drawback to such an approach. The underlying classes cannot be inherited from.