What is object cloning in java?
Answers
Answered by
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
Science,
9 months ago
Science,
9 months ago
Computer Science,
9 months ago
Social Sciences,
1 year ago
CBSE BOARD X,
1 year ago