effectivejava
effectivejava copied to clipboard
Item 11: Cloneable
Clone should return the same class of the defining class and do not declare to throw CloneNotSUpportedException.
They should also not call not-final methods.
To do that we should be able to solve method calls