Java Reference
In-Depth Information
7.6. Cloned objects can share internal state
Prescription: Avoid implementing Cloneable . If you implement it, copy any internal objects that
you do not want to share between the object and its clone.
References: [EJ Item 10].
< Day Day Up >
 
 
Search WWH ::




Custom Search