How to write clone method
By convention, the approach of writing clone method is:1. Implements Cloneable interface This approach ensures your clone method can directly or indirectly call Object.clone(). Otherwise, calling
原创
2010-04-27 12:40:00 ·
311 阅读 ·
0 评论