Question: Given the diagram in question 43 and the correct export statement to share only com. duckling, which of the following should be included in the
Given the diagram in question 43 and the correct export statement to share only com. duckling, which of the following should be included in the module-info.java file of com.park to specify that com.park should have access to the com.duckling and com. bread packages, but not the com.egg package?

A. require com.duck, com.bread;
B. requires com.duck; com.bread;
C. require com.duckling, com.bread;
D. requires com.duckling; com.bread;
E. None of the above.
com.duck com duckling Duckling.java egg Egg.java module-info.java com.bread com bread com.park module-info.java Food.java com park Grass.java module-info.java
Step by Step Solution
3.42 Rating (158 Votes )
There are 3 Steps involved in it
To specify module dependencies in a JPMS Java Platform Module System moduleinfojava file you use the ... View full answer
Get step-by-step solutions from verified subject matter experts
