September 2019
Intermediate to advanced
816 pages
18h 47m
English
Java 9 has added the concept of modules via the Java Platform Module System. Basically, a module is a set of packages managed by that module (for example, the module decides which packages are visible outside the module).
An application with two modules can be shaped as in the following screenshot:

There are two modules—org.player and org.tournament. The org.player module requires the org.tournament module, and the org.tournament module exports the com.management package.
Java Reflection API represents a module via the java.lang.Module class (in the java.base module). Via the Java Reflection API, we can extract information ...
Read now
Unlock full access