Page 1 of 1

About Question enthuware.ocpjp.ii.v11.2.3425 :

Posted: Mon Sep 09, 2019 12:15 pm
by sir_Anduin@yahoo.de
there is a typo:
Code from a named moduled can access classes that are on the classpath.

Re: About Question enthuware.ocpjp.ii.v11.2.3425 :

Posted: Tue Sep 10, 2019 8:50 am
by admin
Right. Fixed.
thank you for your feedback!

Re: About Question enthuware.ocpjp.ii.v11.2.3425 :

Posted: Thu Feb 13, 2020 1:35 pm
by jackdaniels
Typo with "modularzing"

Re: About Question enthuware.ocpjp.ii.v11.2.3425 :

Posted: Thu Feb 13, 2020 10:39 pm
by admin
Fixed.
thank you for your feedback!

Re: About Question enthuware.ocpjp.ii.v11.2.3425 :

Posted: Sun Mar 22, 2020 3:00 pm
by garfield
I dont get why "If a request is made to load a type whose package is not defined in any known module then the module system will attempt to load it from the class path.: is correct.

"A named module can access classes present in an automatic module but not in the unnamed module" according to the explanation, so the above to be correct the request must come from an unamed module.

Re: About Question enthuware.ocpjp.ii.v11.2.3425 :

Posted: Sun Mar 22, 2020 11:50 pm
by admin
Yes, automatic modules can access packages from the classpath. So, if the request to load a type comes from an automatic module, the type will be loaded from the classpath. Therefore, the statement is correct from that perspective but I agree that it is not true for all cases. The statement should be updated to make it clearer.

Re: About Question enthuware.ocpjp.ii.v11.2.3425 :

Posted: Thu Sep 10, 2020 8:26 pm
by carlosx
"Yes, automatic modules can access packages from the classpath. So, if the request to load a type comes from an automatic module, the type will be loaded from the classpath. Therefore, the statement is correct from that perspective but I agree that it is not true for all cases. The statement should be updated to make it clearer."

Yes!!! update it, It got me really confused.

Re: About Question enthuware.ocpjp.ii.v11.2.3425 :

Posted: Thu Sep 10, 2020 11:53 pm
by admin
I see that it has been updated already in the 816 question bank. Updated in 817 as well now.
thank you for your feedback!