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.