why clone() is protected in Object class?
purushottam krishna hegde <[email protected]>
| Newsgroups | gmane.comp.java.sun.servlet |
|---|---|
| Message-ID | <[email protected]> |
Hi all, two doubts 1) i want to know the reason behind protected clone method in Object class as we have to call super.clone() in our overriding method. 2)Where java stores the type identification of an object(Object being upcasted to super class) when Polymorphism Occurs (by R T T I -Runtime type identification ) thanks in advance purushottam hegde --------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!