Chapter 11Modules

OCP exam objectives covered in this chapter:

  • images  Understanding Modules
    • Describe the Modular JDK
    • Declare modules and enable access between modules
    • Describe how a modular project is compiled and run

images Since Java 9, packages can be grouped into modules. In this chapter, we will explain the purpose of modules and how to build your own. We will also show how to run them and how to discover existing modules. This book only covers the basics of modules that you need to know for the 1Z0-815 exam.

We’ve made the code in this chapter ...

Get OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.