The moose likes Java in General and the fly likes clonning Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "clonning " Watch "clonning " New topic


vykuntam chandra sekhar rao

Joined: Sep 18, 2003
Posts: 5
hi i had a doubt in clonning topic like

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.

thanking u.

Nikhil Vasaikar
Ranch Hand

Joined: Aug 18, 2004
Posts: 56
I suggest you to refer to the following example. Hope this answers your queries.


I agree. Here's the link:
subject: clonning
It's not a secret anymore!