What is the use of cloneable interface in java?

Viewed 21845

What is the use of implementing a cloneable interface as it is a marker interface?

I can always make a public Object clone() method in my class. What is the actual purpose of cloneable interface?

5 Answers
Related