摘要: the approach of writing clone method is:
1.Implements Cloneable interface
2.Override the clone method
2.1 Make the clone method to public method
2.2 Call super.clone() to produce the new object
2.3 Clone members 閱讀全文
1.Implements Cloneable interface
2.Override the clone method
2.1 Make the clone method to public method
2.2 Call super.clone() to produce the new object
2.3 Clone members 閱讀全文
posted @ 2010-04-21 10:51 祝嘉 閱讀(378) | 評論 (0) 編輯 |