Java Reference
In-Depth Information
Package nesting is an organizational tool for related packages, but
it provides no special access between packages. Class code in
adapt-
ive.genetic
cannot access package-accessible identifiers of the
adaptive
or
adaptive.neuralNet
packages. Package scope applies only to a particu-
lar package. Nesting can group related packages and help programmers
find classes in a logical hierarchy, but it confers no other benefits.