A modular JAR is a regular JAR that contains a compiled module-info.class at its root. This makes the JAR a first-class citizen of the Java module system. It can declare its name, what it requires, and what it exports — enabling strong encapsulation and verified dependency resolution at startup.
Classpath JAR vs modular JAR
Content is available with subscription.
Get full access to all courses on the platform for one year with a single payment.
▼
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.