Skip to content
Advertisement

Tag: static-constructor

Is it better practice to use static factory methods over an interface implemented by many different objects? [closed]

Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 3 years ago. Improve this question It seems as though you could either use static factory methods or you can use an interface that many objects implement

Advertisement