Question: Suppose we have the two JARs in the diagram on the module path and the module-info in the com.magic jar only exports one package: com.magic.unicorn.
Suppose we have the two JARs in the diagram on the module path and the module-info in the com.magic jar only exports one package: com.magic.unicorn. There is no module-info file in the com.science JAR. How many of the four packages in the diagram can a third module on the module path access?

A. 0
B. 1
C. 2
D. 3
E. 4
com.magic com.magic.dragon com.magic.unicorn module-info com.science com.science.bio com.science.chem
Step by Step Solution
3.38 Rating (160 Votes )
There are 3 Steps involved in it
The diagram depicts two JAR files one named commagic with a moduleinfo file and another named comsci... View full answer
Get step-by-step solutions from verified subject matter experts
