jQuery in Action, 2nd edition*
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 Java 8 in Action this week in the Java 8 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
protected and private class
Why paint() method in CustomItem class is PROTECTED ?
accessing members of an inner class
Thread class
Constructors and interfaces