where do we use clonning, and if we have clone() method in Object class which is super class of all our userclasses which we write what is the need to override clone() method by implementing clonnable interface . if that is not there we can remove even clone() method form Object classs know then why we have that one in java api.
pls respond to it as early as possible.
Joined: Aug 18, 2004
I suggest you to refer to the following example. Hope this answers your queries.