posted 19 years ago
Nested classes can be protected.
If you look at the rules for accessing a protected entity from outside the same package, you'll see that they just wouldn't apply to a top level class. So the access choices for a top level class are public and default (package).
Mike Gershman
SCJP 1.4, SCWCD in process