About Question enthuware.ocpjp.i.v11.2.3009 :
Posted: Tue Sep 29, 2020 3:14 pm
Could you provide some examples of the rules in the explanation, so they are easier to remember? I tried to look for them in JLS, but didn't find much about Java standard modules.
For example this one:
A standard module may contain both standard and non-standard API packages. If a standard module exports a standard API package then the export may be qualified; if a standard module exports a non-standard API package then the export must be qualified.
So is there any standard module which actually exports non-standard API package? And what is the purpose of it?
For example this one:
A standard module may contain both standard and non-standard API packages. If a standard module exports a standard API package then the export may be qualified; if a standard module exports a non-standard API package then the export must be qualified.
So is there any standard module which actually exports non-standard API package? And what is the purpose of it?