If A Method Is Declared As Protected, Where May The Method Be Accessed
a protected method can be overriden into all its sub classes (with-in any package).
and you can call Object Instance.protectedMethodName() only with in the same package
A protected method may only be accessed by classes or interfaces of the same package or by subclasses of the class in which it is declared.
2009-2016 downloadmela.com. All rights reserved.