Examine these module declarations:
Which two statements are correct? (Choose two.)
The ServiceProvider module is the only module that, at run time, can provide the com.example.api API.
The placement of the com.example.api API in a separate module, ServiceAPI, makes it easy to install multiple provider modules.
The Consumer module should require the ServiceProvider module.
The ServiceProvider module should export the com.myimpl package.
The ServiceProvider module does not know the identity of a module (such as Consumer) that uses the
com.example.api API.
Submit