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

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
sir_Anduin@yahoo.de
Posts: 62
Joined: Fri Aug 07, 2015 2:16 pm
Contact:

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

Post by sir_Anduin@yahoo.de »

there is a typo:
Code from a named moduled can access classes that are on the classpath.

admin
Site Admin
Posts: 8943
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin »

Right. Fixed.
thank you for your feedback!
If you like our products and services, please help us by posting your review here.

jackdaniels
Posts: 10
Joined: Sun Feb 04, 2018 7:05 am
Contact:

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

Post by jackdaniels »

Typo with "modularzing"

admin
Site Admin
Posts: 8943
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin »

Fixed.
thank you for your feedback!
If you like our products and services, please help us by posting your review here.

garfield
Posts: 9
Joined: Sun Dec 07, 2014 3:27 am
Contact:

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

Post 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.

admin
Site Admin
Posts: 8943
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post 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.
If you like our products and services, please help us by posting your review here.

carlosx
Posts: 5
Joined: Tue Sep 01, 2020 12:58 pm
Contact:

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

Post 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.

admin
Site Admin
Posts: 8943
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post 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!
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests