Brian

4%
Flag icon
A third advantage of static factory methods is that, unlike constructors, they can return an object of any subtype of their return type.
Effective Java
Rate this book
Clear rating
Open Preview