Understanding the protected access modifier and inheritance in Java
The Java Tutorial gives the standard definition of the protected access modifier: The protected modifier specifies that the member can only be accessed within its own package (as with package-private) and, in addition, by a subclass of its class in another package. But what does this mean in practice? I see a lot of confusion [...]