Which code fragment creates a JNDI look-up string that would access an environment property named MyEnvProperty?

Which code fragment creates a JNDI look-up string that would access an environment property
named MyEnvProperty?

Which code fragment creates a JNDI look-up string that would access an environment property
named MyEnvProperty?

A.
java:prop/env/MyEnvProperty

B.
j ava/c o m p/prop/MyE nvProperty

C.
java:comp/env/MyEnvProperty

D.
j a va/prop/env/MyEnvProperty



Leave a Reply 0

Your email address will not be published. Required fields are marked *