Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

clonning

 
vykuntam chandra sekhar rao
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suggest you to refer to the following example. Hope this answers your queries.


Regards,

Nikhil
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic