Languages

Java static factory method - what it is and why to use them over constructors?

3 points
Asked by:
Root-ssh
104650

What is static factory method in java? In the simplest way possible.

I've seen couple of times, it is better to use 'static factory'
then normal constructors - the question is why?

0 answers
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join