Loading…
Loading…
A 20-question mixed review of OCP Java 21 Chapter 12: module benefits and declarations, compiling and running modules, exports, requires transitive and opens, services with ServiceLoader, the module commands, and named, automatic and unnamed modules with migration strategies.
A mixed review of Chapter 12: Modules. Take it after finishing the chapter, from Java Modules: Benefits, module-info.java, Compiling, Running and Packaging to Java Named, Automatic and Unnamed Modules.
Several questions combine rules from different articles, as the real exam does. Module compile and run results were checked with real modules. Aim for at least 15 out of 20 (75%) before moving on to Chapter 13.
Quiz path: step 89. Take the quizzes in this order, after reading each article.
Previous quiz: Named, Automatic and Unnamed Modules and Migration (OCP 21)
Next quiz: Platform and Virtual Threads (OCP 21)
20 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.