A nested class is a member of its enclosing class . Non-static nested classes (inner classes) have access to other members of the enclosing class, even if they are declared private.
A nested class is a member of its enclosing class . Non-static nested classes (inner classes) have access to other members of the enclosing class, even if they are declared private.