Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
I believe that all classes should support a copy constructor: public void someMethod (Foo fIsaFoo) { At the very least, a constructor with the signature: public Foo (Foo fooToCopy); should clone the argument supplied.
Replies:
|
Sponsored Links
|