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

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

Moderator: admin

Post Reply
matheusdallrosa
Posts: 5
Joined: Sat Dec 28, 2019 8:34 am
Contact:

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

Post by matheusdallrosa »

Shouldn't the fourth option be correct? Since a module need to require all other modules that it wants to use?

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

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

Post by admin »

But that is not what option 4 says. Option 4 is talking about packages.

matheusdallrosa
Posts: 5
Joined: Sat Dec 28, 2019 8:34 am
Contact:

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

Post by matheusdallrosa »

Of course, thank you, From what i have noticed so far we must take the options very literally. Am i correct?

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

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

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

mais711
Posts: 1
Joined: Thu Mar 25, 2021 11:36 am
Contact:

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

Post by mais711 »

A module-info.java file can be empty, and will compile just fine. Nothing is required in this file

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

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

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

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests