• Post Reply Bookmark Topic Watch Topic
  • New Topic

Clone() has protected access Getting Compilation Error  RSS feed

 
AshutoshP Patil
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

During compilation i am getting clone() has protected access in java.lang.Object
Can Any body explain me "protected access" what it exactly refers?

Thanks In advance.

 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://java.sun.com/docs/books/jls/third_edition/html/names.html#6.6
 
Pramod P Deore
Ranch Hand
Posts: 633
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check this Post
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!