Question: Suppose you have the following interface in a module named animal.insect.api. What needs to be included in the module-info file for it to be a
Suppose you have the following interface in a module named animal.insect.api. What needs to be included in the module-info file for it to be a service provider interface?

A. exports animal.insect.api;
B. exports animal.insect.api.bugs;
C. exports animal.insect.api.bugs.Bug;
D. requires animal.insect.api;
E. requires animal.insect.api.bugs;
F. requires animal.insect.api.bugs.Bug;
package animal.insect.api.bugs; public interface Bug { int crawl(); }
Step by Step Solution
3.38 Rating (154 Votes )
There are 3 Steps involved in it
From the information provided in the question and the image it seems there is an interface named Bug within a package animalinsectapibugs To have a se... View full answer
Get step-by-step solutions from verified subject matter experts
