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?

com.magic com.magic.dragon com.magic.unicorn module-info com.science com.science.bio com.science.chem

A. 0

B. 1

C. 2

D. 3

E. 

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

1 Expert Approved Answer
Step: 1 Unlock

The diagram depicts two JAR files one named commagic with a moduleinfo file and another named comsci... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Oracle Questions!