Loading…
Loading…
Ten exam-style questions on the module tools: java --describe-module, --list-modules and --show-module-resolution, jar --describe-module, jdeps options, jmod modes, jlink runtime images, jpackage and the built-in java and jdk modules, with explanations.
Practice questions for the article Java Module Commands: describe-module, jdeps, jmod and jlink.
All commands and outputs in these questions were run on JDK 21 and JDK 25. Assume module JARs are in the folder mods. Aim for at least 8 out of 10.
Quiz path: step 87. Take the quizzes in this order, after reading each article.
Previous quiz: Java Module Services (OCP 21)
Next quiz: Named, Automatic and Unnamed Modules and Migration (OCP 21)
10 questions · pass at 68%
Check your understanding; you see the answers and explanations after submitting.
Discussion
Sign in to ask a question or share what you learned.