Question: Suppose we want to have two modules: com.ny and com.sf. Which is true about the placement of the module-info.java file(s)? A. One module-info.java file is
Suppose we want to have two modules: com.ny and com.sf. Which is true about the placement of the module-info.java file(s)?

A. One module-info.java file is required in position Z.
B. Two module-info.java files are required, in positions V and X.
C. Two module-info.java files are required, in positions W and Y.
D. Three module-info.java files are required, in positions V, X, and Z.
E. Three module-info.java files are required, in positions W, Y, and Z.
F. None of the above.
module com.ny package com.ny.city V W Z module com.sf package com.sf.city X Y
Step by Step Solution
3.53 Rating (163 Votes )
There are 3 Steps involved in it
The module system in Java which was introduced with Java Platform Module System JPMS in Java 9 re... View full answer
Get step-by-step solutions from verified subject matter experts
