This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
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. ------------------
posted 14 years ago
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