What is the Module System (JPMS) introduced in Java 9 and what problem does it solve compared to the classpath?

Java Hard
Select the correct answer: Single Choice

Key points

  • JPMS solves classpath hell by introducing named modules
  • It provides explicit dependencies and exports
  • Strong encapsulation ensures better control over module dependencies
  • Reliable configuration helps avoid version conflicts
  • Access to internal APIs is controlled within modules

Ready to go further?