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.
In K&B book Chapter-1, page -70 - the two minute drill section says - "Members accessed without the dot operator (.) must belong to the same class.".
At the same time there is an example in page 34, where a protected int x=9 variable in parent class is used in the child class without a dot operator.
I understand this is because of inheritance. then, what am missing with the statement in two-minute drill?