in JAVA by
What is the purpose of the “requires” keyword in a module-info.java file?

a) To specify which packages should be included in the module

b) To specify which packages should be accessible to other modules

c) To specify which modules are required by this module

d) To specify which modules require this module

1 Answer

0 votes
by

Answer: c) To specify which modules are required by this module

Explanation: The “requires” keyword is used in the module-info.java file to specify which modules are required by this module.

...