Oracle
1Z0-815 · Question #71
Which two statements are true about Java modules? (Choose two.)
The correct answer is A. Modular jars loaded from --module-path are automatic modules. C. Classes found in 璫lasspath are part of an unnamed module. See the full explanation below for the reasoning.
Question
Which two statements are true about Java modules? (Choose two.)
Options
- AModular jars loaded from --module-path are automatic modules.
- BAny named module can directly access all classes in an automatic module.
- CClasses found in 璫lasspath are part of an unnamed module.
- DModular jars loaded from 璫lasspath are automatic modules.
- EIf a package is defined in both the named module and the unnamed module, then the package in
How the community answered
(48 responses)- A73% (35)
- B15% (7)
- D8% (4)
- E4% (2)
Community Discussion
No community discussion yet for this question.