Page 1 of 1

About Question enthuware.ocpjp.v17.2.3012 :

Posted: Thu Dec 21, 2023 9:22 pm
by yulinxp
For last option and explanation... Isn't com.acme.DB class name, not module name?

Code: Select all

module inventory{
  requires com.acme.DB transitively;
}
It should be requires transitive com.acme.DB;

Re: About Question enthuware.ocpjp.v17.2.3012 :

Posted: Fri Dec 22, 2023 4:51 am
by admin
No, why do you think it is a class name?

Re: About Question enthuware.ocpjp.v17.2.3012 :

Posted: Fri Dec 22, 2023 11:17 am
by yulinxp
I remember the question states com.acme.DB is class within com.acme module. But I can't go back to the question to check.

Re: About Question enthuware.ocpjp.v17.2.3012 :

Posted: Sat Dec 23, 2023 3:28 am
by admin
Ok, I see what you mean now. You are right. Should be fixed.
thank you for your feedback!