This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
up you are right...protected members outside the package can only be referenced through the reference variable of the sub-class & outside the package they behave(logically & not technically) as the private member of that sub-class.
"History would be kind to me, for I intend to write it."
Hi Sree, the answer to your question is yes. Because SubOne is inheriting the protected say() from Super. so now it is private in SubOne. So there is no way to access private members outside the class. "Protected members will become private in subclasses outside of the package". reference: page no: 70,71 K & B. i hope it helps you.