B is Ans.
Assigning Object Reference Variables Concept:---
1.We can assign value of reference variable to another reference variable.
2.Reference Variable is used to store the address of the variable.
3.Assigning Reference will not create distinct copies of Objects.
4.All reference variables are referring to same Object.
5.Assigning Object Reference Variables does not –
i.Create Distinct Objects
ii.Allocate Memory
. iii.Create duplicate Copy
Consider This Example –
Rectangle r1 = new Rectangle();
Rectangle r2 = r1;
r1 is reference variable which contain the address of Actual Rectangle Object.
r2 is another reference variable
r2 is initialized with r1 means – “r1 and r2” both are referring same object , thus it does not create duplicate object , nor does it allocate extra memory.