Loading…
Loading…
Ten exam-style questions on module benefits, module-info.java rules and module names, the javac -p and -d options, running with java -p and -m, packaging module JARs, and linking modules with exports and requires, with explanations.
Practice questions for the article Java Modules: Benefits, module-info.java, Compiling, Running and Packaging.
Command syntax is tested heavily on the exam, so read every dash and slash carefully. Aim for at least 8 out of 10.
Quiz path: step 84. Take the quizzes in this order, after reading each article.
Previous quiz: Chapter 11 Review: Exceptions and Localization (OCP 21)
Next quiz: Module Declarations: requires, exports and opens (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.