bugs.java.com
Bug ID: JDK-4106143 About polymorphism: changing the return type...
ADVANTAGE IN THE OVERLOADED clone() METHODS: When implementing the clone method, it would allow us to cast the cloned object to the right type. It may help to trap some errors at compile time. The following code give an example with the two classes above