how to clone an object in java and what it means

10/8/2019 1:45:14 AM

Saroj Patel

1 Answer

New Answer


To clone an object in java you have to implement cloneable interfare. Clone means to assign exact copy of object into another object. Check this link. This may help you with example. https://www.javatpoint.com/object-cloning