About Question enthuware.ocpjp.ii.v11.2.3425 :
Moderators: Site Manager, fjwalraven
-
- Posts: 62
- Joined: Fri Aug 07, 2015 2:16 pm
- Contact:
About Question enthuware.ocpjp.ii.v11.2.3425 :
there is a typo:
Code from a named moduled can access classes that are on the classpath.
Code from a named moduled can access classes that are on the classpath.
-
- Site Admin
- Posts: 10240
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.ii.v11.2.3425 :
Right. Fixed.
thank you for your feedback!
thank you for your feedback!
If you like our products and services, please help us by posting your review here.
-
- Posts: 10
- Joined: Sun Feb 04, 2018 7:05 am
- Contact:
Re: About Question enthuware.ocpjp.ii.v11.2.3425 :
Typo with "modularzing"
-
- Site Admin
- Posts: 10240
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.ii.v11.2.3425 :
Fixed.
thank you for your feedback!
thank you for your feedback!
If you like our products and services, please help us by posting your review here.
-
- Posts: 9
- Joined: Sun Dec 07, 2014 3:27 am
- Contact:
Re: About Question enthuware.ocpjp.ii.v11.2.3425 :
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.
"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.
-
- Site Admin
- Posts: 10240
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.ii.v11.2.3425 :
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.
-
- Posts: 5
- Joined: Tue Sep 01, 2020 12:58 pm
- Contact:
Re: About Question enthuware.ocpjp.ii.v11.2.3425 :
"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.
Yes!!! update it, It got me really confused.
-
- Site Admin
- Posts: 10240
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.ii.v11.2.3425 :
I see that it has been updated already in the 816 question bank. Updated in 817 as well now.
thank you for your feedback!
thank you for your feedback!
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 4 guests