File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
protected methods and classes in package
Joined: Oct 12, 2001
Oct 15, 2001 15:17:00
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.
Joined: Nov 06, 2000
Oct 16, 2001 06:52:00
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 (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
I agree. Here's the link:
subject: protected methods and classes in package
Why paint() method in CustomItem class is PROTECTED ?
Constructors and interfaces
accessing members of an inner class
protected and private class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014