File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 1506
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: protected methods and classes in package
 
Similar Threads
Thread class
Why paint() method in CustomItem class is PROTECTED ?
Constructors and interfaces
accessing members of an inner class
protected and private class