Chapter 7Packaging and Deploying Java Code and Use the Java Platform Module System

  1. What is the name of a file that declares a module?
    1. mod.java
    2. mod-data.java
    3. mod-info.java
    4. module.java
    5. module-data.java
    6. module-info.java
  2. Suppose you have a module that calls exports(ChocolateLab.class) using a service locator. Which part of the ...

Get OCP Oracle Certified Professional Java SE 17 Developer Practice Tests 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.