About Question enthuware.ocpjp.v11.2.3151 :
Posted: Sat Jan 01, 2022 11:41 am
Given the following contents of module-info.java:
The correct answer is that
Is it about automatic modules or unnamed modules?
Thanks
Code: Select all
module enthu.finance{
exports com.enthu.Reports to com.enthu.tax;
requires transitive enthu.utils;
}
Could someone explaining about that option:Only class from the com.enthu.tax module are allowed to read classes in the com.enthu.Reports package.
The explanation session don't have any details about this option and I need more clarification.The enthu.finance module exports only the those classes that are used by the com.enthu.tax module.
Is it about automatic modules or unnamed modules?
Thanks