Science, asked by dipti7738, 11 months ago

What is object cloning in java?

Answers

Answered by adityasingh41
0
The object cloning is a way to create exact copy of an object. 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 is defined in the Object class.
Similar questions