This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes protected methods and classes in package Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "protected methods and classes in package" Watch "protected methods and classes in package" New topic
Author

protected methods and classes in package

Prem
Greenhorn

Joined: Oct 12, 2001
Posts: 7
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

Joined: Nov 06, 2000
Posts: 1510
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


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
Have you checked out Aspose?
 
subject: protected methods and classes in package
 
It's not a secret anymore!