WHY clone() IS DECLARED AS PROTECTED? SINCE IT'S IN OBJECT CLASS, HERE [ PUBLIC clone() =PROTECTED clone() ] .
if we think that it should be used only by same package (lang package) classes and by Child classes of Object class.Then no need to go for protected even it can a be public . HERE BOTH CAN SAME. [ PUBLIC clone() =PROTECTED clone() ]=>BECOZ clone() IN OBJECT CLASS so what is necessary to go protected here? plz dont give answer as "same package classes+ only child classes from out side packaages".