About Question enthuware.ocpjp.i.v11.2.3008 :
Moderator: admin
-
- Posts: 5
- Joined: Sat Dec 28, 2019 8:34 am
- Contact:
About Question enthuware.ocpjp.i.v11.2.3008 :
Shouldn't the fourth option be correct? Since a module need to require all other modules that it wants to use?
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.i.v11.2.3008 :
But that is not what option 4 says. Option 4 is talking about packages.
-
- Posts: 5
- Joined: Sat Dec 28, 2019 8:34 am
- Contact:
Re: About Question enthuware.ocpjp.i.v11.2.3008 :
Of course, thank you, From what i have noticed so far we must take the options very literally. Am i correct?
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.i.v11.2.3008 :
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.
-
- Posts: 1
- Joined: Thu Mar 25, 2021 11:36 am
- Contact:
Re: About Question enthuware.ocpjp.i.v11.2.3008 :
A module-info.java file can be empty, and will compile just fine. Nothing is required in this file
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.i.v11.2.3008 :
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.
Who is online
Users browsing this forum: No registered users and 5 guests