What is the purpose of clonable interface?

Questions by nareshKumarwps

Showing Answers 1 - 3 of 3 Answers

Cloneable interface is a marker interface and has no members. Cloneable is used whenever you want to manipulate a copy of the object without altering the original object. It is used to indicate that a class allows a bitwise copy of an object. Only classes that implement the Cloneable interface can be cloned.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions