Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

protected methods and classes in package

 
Prem
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any body tell me about protected methods and classes in package
that How can i use protected methods and classes.
I know in polymorphysim that how protected method is using of overriding.
if any body can help me.
------------------
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Protected attributes/methods can be accessed (if the class is accesible) from classes/methods in the same package and by subclasses. I am not sure what more you need to know.

Bosun
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic