Topic: 1z0-819 topic 1 question 127
Given the code fragment:
and
module greeting {
}
Which statement is true?
A.
All members of com.name are accessible only to the citizen and greeting modules.
B.
public members in the com.name package are accessible only to the greeting module.
C.
Inserting "requires citizen" at greeting's module-info.java, enables com.name members accessible to the greeting module.
D.
All members in the com.name package are accessible only to the greeting module.
E.
public members in the com.name package are accessible to all modules.