One advantage of static factory methods is that, unlike constructors, they have names.


Effective Java (ed. Addison-Wesley Professional, 2008) - ISBN: 9780132778046


One advantage of static factory methods is that, unlike constructors, they have names.

One advantage of static factory methods is that, unlike constructors, they have names.

One advantage of static factory methods is that, unlike constructors, they have names.

One advantage of static factory methods is that, unlike constructors, they have names.