The clone() method of Object class is used to clone an object . The java. lang. Cloneable interface must be implemented by the class whose object clone we want to create.
The clone() method of Object class is used to clone an object . The java. lang. Cloneable interface must be implemented by the class whose object clone we want to create.