Daniel Berg

16%
Flag icon
The Cloneable interface was intended as a mixin interface (Item 20) for classes to advertise that they permit cloning. Unfortunately, it fails to serve this purpose. Its primary flaw is that it lacks a clone method, and Object’s clone method is protected.
Effective Java
Rate this book
Clear rating
Open Preview