Consider the modules in the previous diagram. Suppose we want the code in module com.sf to depend

Question:

Consider the modules in the previous diagram. Suppose we want the code in module com.sf to depend on code in module com.ny. Which of the following directives goes into module com.sf’s module-info file to configure that behavior? 

image text in transcribed

A. export com.ny;

B. exports com.ny;

C. require com.ny;

D. require com.ny.city;

E. requires com.ny;

F. requires com.ny.city;

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: