Science, asked by raj900855, 1 year ago

What is object cloning in java

Answers

Answered by shereef4me
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