Return to site

JAVA CERTIFICATION QUESTION: The ServiceLoader class is key to using the Java Platform Module System.

· java,ocp

Which statements are correct about the Java Platform Module System (JPMS)? Choose two.

A. The service type must be a Java interface.

B. The service provider type must be a concrete public Java class.

C. The programmer has an option to inspect the service provider type before obtaining an instance.

D. The service provider type may be a Java interface.

 

 

 

·ꓷ puɐ ꓛ suoᴉʇdo ǝɹɐ sɹǝʍsuɐ ʇɔǝɹɹoɔ ǝɥꓕ ·uoᴉsnʅɔuoꓛ