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 requiresmain; 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.
// according to another website
Correct module-info.java
module main{
exports country;
uses country.CountryDetails;
}
//answer: BD