||10 Reasons We Need Java 3.0|
|Subject:||a bunch of amateur ideas...|
Response to: a bunch of amateur ideas...
mostly good, but clone() should not be a public method. See http://developer.java.sun.com/developer/bugParade/bugs/4673424.html
for a better solution. The reason clone() should not be public is that it you may not *want* to externally expose the ability to clone an object, and having a clone() that is protected allows you to accomplish this. My proposed solution still gives this ability when truly wanted, without sacrificing the ability to keep clone() restricted.
Hear us Roar