Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Why clone() method in Object class as a "protected" ?

796466Nov 25 2010 — edited Nov 29 2010
Hi,

Why clone() method in Object class declared as a "protected" access modifier ? is it any special reason for that ? why not it declared as a "public" like equals() and hashCode() method ?

Thanks in Advance
Rishi
This post has been answered by YoungWinston on Nov 25 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 27 2010
Added on Nov 25 2010
10 comments
573 views