Page 1 of 1

About Question enthuware.ocpjp.v21.2.3445 :

Posted: Sat Jun 06, 2026 8:18 pm
by silvia001
Hello,

Which clause(s) are used by a module definition that uses a service?

Could you please explain why we do not need exports this service in the module definition?

Thank you,
Silvia.

Re: About Question enthuware.ocpjp.v21.2.3445 :

Posted: Sun Jun 07, 2026 3:48 am
by admin
The problem statement is asking about the module that "uses" a service. The module that uses a service doesn't export the service that is why it doesn't need the exports directive. It needs only the requires and uses directives.

The question includes a detailed explanation and also provides an example. Please go through it.