QuestionQ4

Java SE APIs

Which statement about migration is true?

  • A Every module is moved to the module path in a bottom-up migration.
  • B Every module is moved to the module path in a top-down migration.
  • C Unnamed modules are automatic modules in a top-down migration.
  • D The required modules migrate before the modules that depend on them in a top-down migration.
Explanation

A top-down Java module migration begins with the application or higher-level dependent module and proceeds through its required dependencies. Required dependencies must be available on the module path—initially, they can be automatic modules—because a named module cannot read the unnamed module.

Community Discussion

No comments yet. Be the first to start the discussion!