This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance 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