About Question enthuware.ocpjp.i.v11.2.3020 :
Posted: 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
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