I need to know in a case of we need to clone an instance deeply why can't we achieve that using the getter method of our original object why we need any specific design pattern or interface like Cloneable ?
Asked
Active
Viewed 35 times
1
-
1You should know that [`Cloneable` is broken](https://stackoverflow.com/questions/4081858/about-java-cloneable) – Lino Jul 23 '20 at 09:03