Question: Consider a module 'com.example.consumer' that depends on the 'com.xyz . application' module. Is it possible for the consumer module to access the classes defined within
Consider a module 'com.example.consumer' that depends on the 'com.xyzapplication' module. Is it possible for the consumer module to access the classes defined within the
'com.xyzcalculatorr' module?
Only if the 'com.xyzapplication' module explicitly reexports classes from 'com.xyzcalculatorr'.
Yes, if the 'com.xyzcalculatorr' module is open.
No access to transitive dependencies is not allowed.
Yes, if explicitly declared as a transitive dependency.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
