© Kishori Sharan and Adam L. Davis 2022
K. Sharan, A. L. DavisBeginning Java 17 Fundamentalshttps://doi.org/10.1007/978-1-4842-7307-4_10

10. Modules

Kishori Sharan1   and Adam L. Davis2
(1)
Montgomery, AL, USA
(2)
Oviedo, FL, USA
 
In this chapter, you will learn:
  • What modules are

  • How to declare modules

  • What the implicit readability of a module means and how to declare it

  • The difference between unqualified and qualified exports

  • Declaring the runtime optional dependency of a module

  • How to open an entire module or its selected packages for deep reflection

  • Rules on splitting packages across modules

  • Restrictions on module declarations

  • Different types of modules: named, unnamed, explicit, automatic, normal, and open modules

  • Knowing about modules at runtime

  • How to disassemble ...

Get Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.