exam questions

Exam 1z0-816 All Questions

View all questions & answers for the 1z0-816 exam

Exam 1z0-816 topic 1 question 24 discussion

Actual exam question from Oracle's 1z0-816
Question #: 24
Topic #: 1
[All 1z0-816 Questions]

Given an application with a main module that has this module-info.java file:

Which two are true? (Choose two.)

  • A. A module providing an implementation of country.CountryDetails can be compiled and added without recompiling the main module.
  • B. A module providing an implementation of country.CountryDetails must have a requires main; directive in its module-info.java file.
  • C. An implementation of country.countryDetails can be added to the main module.
  • D. To compile without an error, the application must have at least one module in the module source path that provides an implementation of country.CountryDetails.
  • E. To run without an error, the application must have at least one module in the module path that provides an implementation of country.CountryDetails.
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Sa16253748596
5 months, 1 week ago
Selected Answer: AB
A,B is true
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago