Brian

4%
Flag icon
The main limitation of providing only static factory methods is that classes without public or protected constructors cannot be subclassed. For example, it is impossible to subclass any of the convenience implementation classes in the Collections Framework.
Effective Java
Rate this book
Clear rating
Open Preview