About Question enthuware.ocpjp.i.v11.2.3020 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
jordiAS2K
Posts: 2
Joined: Fri May 17, 2019 4:38 am
Contact:

About Question enthuware.ocpjp.i.v11.2.3020 :

Post by jordiAS2K » Fri May 17, 2019 4:41 am

Hello,

The question says that we have a module name "foo-bar". And the correct answer to execute a main class inside them was:
>java --module-path foobar.jar --module foo-bar/com.foo.Bar

Can the module name contains hyphens (-)? The correct module name will be foo.bar no? and the correct execution will be:
>java --module-path foobar.jar --module foo.bar/com.foo.Bar

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

Re: About Question enthuware.ocpjp.i.v11.2.3020 :

Post by admin » Fri May 17, 2019 5:50 am

Yes, you are right. It should be foo.bar instead of foo-bar. The explanations etc. are all valid.
this has now been fixed.

thank you for your feedback!
Paul.
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 11 guests