Nikhil Goyal

4%
Flag icon
A fourth advantage of static factories is that the class of the returned object can vary from call to call as a function of the input parameters.
Effective Java
Rate this book
Clear rating
Open Preview