| Author |
clone() method over ridding
|
ravikdcs dixit
Greenhorn
Joined: Aug 27, 2008
Posts: 3
|
|
override clone() method such that:- 1. we have not to implement Cloneable Interface and hence 'throw' statement 2. make clone() public so that can be used anywhere 3. make 'deep copy' of references and not 'shallow copying' of references whenever to call clone method on an object containing reference as parameter
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24081
|
|
Hi, Welcome to JavaRanch! Do you have a question?
|
[Jess in Action][AskingGoodQuestions]
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24081
|
|
|
Sending me a copy of this post by PM didn't help. What I'm saying is that this doesn't look like a question, just a number of vaguely unrelated statements. Is there something you would like us to tell you?
|
 |
 |
|
|
subject: clone() method over ridding
|
|
|