[jdom-interest] Element.clone()

Jason Hunter jhunter at collab.net
Tue May 15 15:19:48 PDT 2001


Kevin Baynes wrote:
> 
> Curiosity killed the cat... :-)
> 
> Why does Element.clone() return an Object and not an Element?

Change it to return an Element and try compiling it.  Won't work.  The
method overrides Object.clone() which returns an Object.

-jh-



More information about the jdom-interest mailing list