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.
shereef4me:
hope it helps
Similar questions