Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #32046
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: overriding with different return value type |
| Date | 2015-07-16 11:20 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <mo8i8h$oi3$1@dont-email.me> (permalink) |
| References | <mo8a4l$h99$1@speranza.aioe.org> |
On 07/16/2015 09:04 AM, Xue Feng wrote: > I wonder why the clone() method works in different way. From the Java™ Platform, Standard Edition 8 API Specification: Interface Cloneable <https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html> Class Object - clone() method <https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--> Other discussion: Objects and Java Chapter 8: Cloning, Collections, and Inner Classes <https://www.artima.com/objectsandjava/webuscript/ClonCollInner1.html> Josh Bloch on Design Copy Constructor versus Cloning <http://www.artima.com/intv/bloch13.html> See Item 11: Override clone judiciously in: Bloch, J. (2008). Effective Java. Upper Saddle River, NJ: Addison-Wesley. <https://en.wikipedia.org/wiki/Special:BookSources/9780321356680>
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
overriding with different return value type Xue Feng <xf.lotus@yahoo.com> - 2015-07-16 21:04 +0800
Re: overriding with different return value type Jeff Higgins <jeff@invalid.invalid> - 2015-07-16 10:04 -0400
Re: overriding with different return value type e.d.programmer@gmail.com - 2015-07-16 07:23 -0700
Re: overriding with different return value type Jeff Higgins <jeff@invalid.invalid> - 2015-07-16 11:20 -0400
Re: overriding with different return value type Lew <lewbloch@gmail.com> - 2015-07-16 17:13 -0700
csiph-web