Why is this module-info incorrect for a service provider? A. The exports directive should be export. B.
Question:
Why is this module-info incorrect for a service provider?
A. The exports directive should be export.
B. The exports directive should not be present because all calls to the service provider should use the service locator.
C. The provides directive should be uses instead.
D. The provides directive has the implementation and interface in the wrong order.
E. The requires directive should be exports instead.
F. The requires directive should not be present because provides implies it.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
OCP Oracle Certified Professional Java SE 11 Developer Practice Tests Exam 1Z0 819 And Upgrade Exam 1Z0 817
ISBN: 9781119696131
1st Edition
Authors: Scott Selikoff, Jeanne Boyarsky
Question Posted: