effectivejava icon indicating copy to clipboard operation
effectivejava copied to clipboard

Item 11: Cloneable

Open ftomassetti opened this issue 10 years ago • 1 comments

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.

ftomassetti avatar Jul 22 '14 21:07 ftomassetti

To do that we should be able to solve method calls

ftomassetti avatar Jun 11 '15 16:06 ftomassetti