Thread: Cloning
View Single Post
Old 08-03-2003, 04:08 PM   #7 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,149
Belisarius is on a distinguished road
Anyways, Josh Block in Effective Java spends a lot of time says that unless you have a very specific need for clone, don't use it. Chances are if you're asking about how to use clone in such a simple context, you shouldn't be using it.
__________________
GitS
Belisarius is offline   Reply With Quote