Q. What is object clone in java?
Ans: The object cloning is a way to create an exact copy of an object. The clone method of an object class is used to clone an object. The clonneable interface must be implemented by a class whose object clone to create.
No comments:
Post a Comment