What is the purpose of this code fragment?

Consider the following Java code fragment:

What is the purpose of this code fragment?

Consider the following Java code fragment:

What is the purpose of this code fragment?

A.
The code fragment attempts to extract an object reference named B maintained within a
naming context named A.

B.
The code fragment attempts to extract an object reference A of data type B.

C.
The code fragment attempts to extract an object reference B of data type A.

D.
The code fragment attempts to extract an object reference named A maintained within a
naming context named B.



Leave a Reply 0

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