Interview Questions

What is Cloning? What importance does it have?

Java Interview Questions for Cloning and Cloneable


What is Cloning? What importance does it have?

Creating a copy of object is known as cloning. It has special importance in Java because object cloning is supported by Java itself. Though one can override the behavior of object cloning but there is a default behavior by which copies of objects can be created.

(Continued on next question...)

Other Interview Questions