Brian

16%
Flag icon
Though the specification doesn’t say it, in practice, a class implementing Cloneable is expected to provide a properly functioning public clone method.
Brian
(Object has a protected clone() method that checks for Cloneable interface on its target—not a good pattern, by the way)
Effective Java
Rate this book
Clear rating
Open Preview