Page 1 of 1

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

Posted: Mon Mar 02, 2020 7:27 pm
by matheusdallrosa
Shouldn't the fourth option be correct? Since a module need to require all other modules that it wants to use?

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

Posted: Mon Mar 02, 2020 10:30 pm
by admin
But that is not what option 4 says. Option 4 is talking about packages.

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

Posted: Tue Mar 03, 2020 8:16 pm
by matheusdallrosa
Of course, thank you, From what i have noticed so far we must take the options very literally. Am i correct?

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

Posted: Tue Mar 03, 2020 10:04 pm
by admin
Most of the time the options will be unambiguous. You should not read too much into them trying to find hidden meaning. So, yes, in that sense, take them literally.

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

Posted: Thu Mar 25, 2021 12:11 pm
by mais711
A module-info.java file can be empty, and will compile just fine. Nothing is required in this file

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

Posted: Thu Mar 25, 2021 12:55 pm
by admin
You need to compile a module to test whether module-info.java can be empty or not. If you compile it just like a regular java file, then it may be empty.