Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Java provides explicit accessibility modifiers to control the accessibility of members in a class by external clients (see Section 4.9, p. 138), but in two areas access is governed by specific scope rules:
Class scope for members: how member declarations are accessed within the class.
Block scope for local variables: how local variable declarations are accessed within a block.