August 2017
Beginner
298 pages
7h 26m
English
Think of a module being a walled garden by default. By default, any Java type in a module is accessible only to the types inside the same module. Previously, the SortUtil class was in the packt.addressbook module and was thus accessible to other types in that module. Move it to a different module however, and it is not accessible to types in the original module anymore.
Given two modules, A and B, for any type in module A to access a type in module B, two conditions need to be satisfied:
If either of these conditions isn't met, the type being accessed in module ...
Read now
Unlock full access